Skip to content

Commit 684dba8

Browse files
fixup! Test + fuzz that Channel{,Monitor} would_broadcast are identical Also lower the number of block_connected's in chanmon_consistency, because these changes cause the fuzz tests to run much longer than before.
1 parent 3c5f2ac commit 684dba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fuzz/src/chanmon_consistency.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ pub fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
327327
posn.push(i + 1);
328328
}
329329
$node.block_connected(&header, 1, &txn, &posn);
330-
for i in 2..50 {
330+
for i in 2..7 {
331331
header = BlockHeader { version: 0x20000000, prev_blockhash: header.bitcoin_hash(), merkle_root: Default::default(), time: 42, bits: 42, nonce: 42 };
332332
$node.block_connected(&header, i, &Vec::new(), &[0; 0]);
333333
}

0 commit comments

Comments
 (0)