Skip to content

Commit d795eab

Browse files
committed
f panic err message
1 parent 8f46b8c commit d795eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3296,7 +3296,7 @@ where
32963296
assert_eq!(*self.last_block_hash.read().unwrap(), block.header.prev_blockhash,
32973297
"Blocks must be connected in chain-order - the connected header must build on the last connected header");
32983298
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");
33003300
let txdata: Vec<_> = block.txdata.iter().enumerate().collect();
33013301
self.transactions_confirmed(&block.header, height, &txdata);
33023302
self.update_best_block(&block.header, height);

0 commit comments

Comments
 (0)