Skip to content

Commit 0a9d852

Browse files
author
Eason
committed
cargo fmt
1 parent 609d312 commit 0a9d852

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • core/executor/src/system_contract/metadata

core/executor/src/system_contract/metadata/store.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ impl MetadataStore {
6262
return Err(SystemScriptError::PastEpoch.into());
6363
}
6464

65-
if (metadata.version.start != epoch_segment.last_block_number() + 1) && metadata.epoch != 0 {
65+
if (metadata.version.start != epoch_segment.last_block_number() + 1) && metadata.epoch != 0
66+
{
6667
return Err(SystemScriptError::MetadataVersionDiscontinuity.into());
6768
}
6869

0 commit comments

Comments
 (0)