We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 609d312 commit 0a9d852Copy full SHA for 0a9d852
1 file changed
core/executor/src/system_contract/metadata/store.rs
@@ -62,7 +62,8 @@ impl MetadataStore {
62
return Err(SystemScriptError::PastEpoch.into());
63
}
64
65
- if (metadata.version.start != epoch_segment.last_block_number() + 1) && metadata.epoch != 0 {
+ if (metadata.version.start != epoch_segment.last_block_number() + 1) && metadata.epoch != 0
66
+ {
67
return Err(SystemScriptError::MetadataVersionDiscontinuity.into());
68
69
0 commit comments