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 f541062 commit 7fa5a2cCopy full SHA for 7fa5a2c
lightning/src/util/test_utils.rs
@@ -209,7 +209,7 @@ impl chaininterface::BroadcasterInterface for TestBroadcaster {
209
if tx.lock_time > self.blocks.lock().unwrap().len() as u32 + 1 && tx.lock_time < 500_000_000 {
210
for inp in tx.input.iter() {
211
if inp.sequence != 0xffffffff {
212
- return;
+ panic!("We should never broadcast a transaction before its locktime ({})!", tx.lock_time);
213
}
214
215
0 commit comments