Skip to content

Commit

Permalink
fix block height wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
hging committed Dec 4, 2020
1 parent be12880 commit 788b576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl<B, I, C> BlockImport<B> for MathchainBlockImport<B, I, C> where
let client = self.client.clone();

// support testnet aura block import
if !!!(self.is_galois && block.header.number().clone().saturated_into::<u64>() < 1_252_434) {
if !!!(self.is_galois && block.header.number().clone().saturated_into::<u64>() < 1_252_435) {
let log = find_mathchain_log::<B>(&block.header)?;
let hash = block.post_hash();

Expand Down

0 comments on commit 788b576

Please sign in to comment.