Skip to content

Commit

Permalink
pytest: Remove check for to-be-removed message about msg from channeld.
Browse files Browse the repository at this point in the history
This race is resolved with the gossipd changes (and this message is
also removed!).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Jan 30, 2024
1 parent 8f9af62 commit 11fa3da
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_opening.py
Original file line number Diff line number Diff line change
Expand Up @@ -2543,10 +2543,6 @@ def test_anchor_min_emergency(bitcoind, node_factory):
with pytest.raises(RpcError, match=r'We would not have enough left for min-emergency-msat 25000sat'):
l1.rpc.withdraw(addr2, 'all')

# Make sure channeld tells gossipd about channel before we close, otherwise
# we get spurious "bad gossip" complaints if l2 sends channel_updates.
l1.daemon.wait_for_log("received private channel announcement from channeld")

# Even with onchain anchor channel, it still keeps reserve (just in case!).
l1.rpc.close(l2.info['id'])
bitcoind.generate_block(1, wait_for_mempool=1)
Expand Down

0 comments on commit 11fa3da

Please sign in to comment.