Skip to content

Commit 1a65d6d

Browse files
committed
f Assert reorg emits no payment event
Verify that moving a shallow payment back to unconfirmed does not emit a settled event. Reconfirmation coverage remains with the deferred stale pending-entry fix. Co-Authored-By: HAL 9000
1 parent d9b0fce commit 1a65d6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/integration_tests_rust.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,8 @@ async fn reorged_onchain_payment_returns_to_unconfirmed() {
10441044

10451045
node_a.sync_wallets().unwrap();
10461046
node_b.sync_wallets().unwrap();
1047+
assert_eq!(node_a.next_event(), None);
1048+
assert_eq!(node_b.next_event(), None);
10471049

10481050
for node in [&node_a, &node_b] {
10491051
let payment = node.payment(&payment_id).unwrap();

0 commit comments

Comments
 (0)