mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
pytest: make sure listincoming sees remote update in test_zeroconf_forward.
Otherwise we get no routehint. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
64678c43ab
commit
8f9af62228
@ -1830,6 +1830,7 @@ def test_zeroconf_forward(node_factory, bitcoind):
|
||||
l2.fundwallet(10**7)
|
||||
l2.rpc.fundchannel(l3.info['id'], 10**6, mindepth=0)
|
||||
wait_for(lambda: l3.rpc.listincoming()['incoming'] != [])
|
||||
wait_for(lambda: only_one(l3.rpc.listincoming()['incoming'])['incoming_capacity_msat'] != 0)
|
||||
|
||||
# Make sure (esp in non-dev-mode) blockheights agree so we don't WIRE_EXPIRY_TOO_SOON...
|
||||
sync_blockheight(bitcoind, [l1, l2, l3])
|
||||
|
Loading…
Reference in New Issue
Block a user