Skip to content

Commit 246faf7

Browse files
committed
f clarify what we're doing
1 parent 0a2ed43 commit 246faf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fuzz/src/chanmon_consistency.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,8 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out, anchors: bool) {
718718
let old_mon = prev_state.persisted_monitor;
719719
prev_state.pending_monitors.pop().map(|(_, v)| v).unwrap_or(old_mon)
720720
};
721-
// Use a different value of `use_old_mons` if we have another monitor (only node B)
721+
// Use a different value of `use_old_mons` if we have another monitor (only for
722+
// node B) by shifting `use_old_mons` one in base-3.
722723
use_old_mons /= 3;
723724
let mon = <(BlockHash, ChannelMonitor<TestChannelSigner>)>::read(
724725
&mut &serialized_mon[..],

0 commit comments

Comments
 (0)