From 788b576b3b210673983c4f738769114b9b532a74 Mon Sep 17 00:00:00 2001 From: Hging Date: Fri, 4 Dec 2020 10:05:27 +0800 Subject: [PATCH] fix block height wrong --- consensus/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/src/lib.rs b/consensus/src/lib.rs index 019218e..40e2fed 100644 --- a/consensus/src/lib.rs +++ b/consensus/src/lib.rs @@ -129,7 +129,7 @@ impl BlockImport for MathchainBlockImport where let client = self.client.clone(); // support testnet aura block import - if !!!(self.is_galois && block.header.number().clone().saturated_into::() < 1_252_434) { + if !!!(self.is_galois && block.header.number().clone().saturated_into::() < 1_252_435) { let log = find_mathchain_log::(&block.header)?; let hash = block.post_hash();