We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d20ca commit 4c6b0acCopy full SHA for 4c6b0ac
lightning/src/util/test_utils.rs
@@ -210,7 +210,7 @@ impl chaininterface::BroadcasterInterface for TestBroadcaster {
210
if tx.lock_time > self.blocks.lock().unwrap().len() as u32 + 1 && tx.lock_time < 500_000_000 {
211
for inp in tx.input.iter() {
212
if inp.sequence != 0xffffffff {
213
- return;
+ panic!("We should never broadcast a transaction before its locktime ({})!", tx.lock_time);
214
}
215
216
0 commit comments