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 d9a5790 commit 276688aCopy full SHA for 276688a
lightning/src/util/test_utils.rs
@@ -663,6 +663,13 @@ impl<'a> chain::Watch<TestChannelSigner> for TestChainMonitor<'a> {
663
} else {
664
assert!(new_monitor == *monitor);
665
}
666
+
667
+ if update.updates.len() == 1 {
668
+ if let ChannelMonitorUpdateStep::EventGenerated { .. } = update.updates[0] {
669
+ return update_res;
670
+ }
671
672
673
self.added_monitors.lock().unwrap().push((channel_id, new_monitor));
674
update_res
675
0 commit comments