Skip to content

Commit 9eb15c1

Browse files
committed
f Check needs_pending_htlc_processing in fuzzer
1 parent b15ecbd commit 9eb15c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fuzz/src/chanmon_consistency.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,9 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out, anchors: bool) {
13401340
},
13411341
}
13421342
}
1343-
nodes[$node].process_pending_htlc_forwards();
1343+
while nodes[$node].needs_pending_htlc_processing() {
1344+
nodes[$node].process_pending_htlc_forwards();
1345+
}
13441346
had_events
13451347
}};
13461348
}

0 commit comments

Comments
 (0)