File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -3296,7 +3296,7 @@ where
3296
3296
assert_eq ! ( * self . last_block_hash. read( ) . unwrap( ) , block. header. prev_blockhash,
3297
3297
"Blocks must be connected in chain-order - the connected header must build on the last connected header" ) ;
3298
3298
assert_eq ! ( self . latest_block_height. load( Ordering :: Acquire ) as u64 , height as u64 - 1 ,
3299
- "Blocks must be connected in chain-order - the connected header must build on the last connected header " ) ;
3299
+ "Blocks must be connected in chain-order - the connected block height must be one greater than the previous height " ) ;
3300
3300
let txdata: Vec < _ > = block. txdata . iter ( ) . enumerate ( ) . collect ( ) ;
3301
3301
self . transactions_confirmed ( & block. header , height, & txdata) ;
3302
3302
self . update_best_block ( & block. header , height) ;
You can’t perform that action at this time.
0 commit comments