Skip to content

Commit 17e72ba

Browse files
authored
Merge pull request #553 from subspace/fix-transition-to-other-block-authors
Fix incorrect block number to check for correct block author
2 parents 87cc81c + 3d072e4 commit 17e72ba

File tree

1 file changed

+1
-1
lines changed
  • crates/sc-consensus-subspace/src

1 file changed

+1
-1
lines changed

crates/sc-consensus-subspace/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ where
743743
let pre_digest = find_pre_digest(&block.header)?;
744744

745745
// TODO: Hack for Gemini 1b launch. These blocks should have correct block author.
746-
if *block.header.number() <= 33_671_u32.into()
746+
if *block.header.number() <= 33_581_u32.into()
747747
&& self.client.info().genesis_hash.as_ref() == GEMINI_1B_GENESIS_HASH
748748
&& pre_digest.solution.public_key.as_slice()
749749
!= [

0 commit comments

Comments
 (0)