Skip to content

Commit 01b9794

Browse files
author
Antoine Riard
committed
f Fix full_stack_targets by broadcasting more blocks
1 parent c5588f7 commit 01b9794

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fuzz/fuzz_targets/full_stack_target.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,9 @@ pub fn do_test(data: &[u8], logger: &Arc<Logger>) {
509509
let txres: Result<Transaction, _> = deserialize(get_slice!(txlen));
510510
if let Ok(tx) = txres {
511511
loss_detector.connect_block(&[tx]);
512+
for _ in 2..6 {
513+
loss_detector.connect_block(&[]);
514+
}
512515
} else {
513516
return;
514517
}

0 commit comments

Comments
 (0)