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 9758b05 commit 98679aaCopy full SHA for 98679aa
tests/test_misc.py
@@ -3040,8 +3040,8 @@ def test_restorefrompeer(node_factory, bitcoind):
3040
wait_for(lambda: l1.rpc.listfunds()["channels"][0]["state"] == "ONCHAIN")
3041
3042
# Check if funds are recovered.
3043
- assert l1.rpc.listfunds()["channels"][0]["state"] == "ONCHAIN"
3044
- assert l2.rpc.listfunds()["channels"][0]["state"] == "ONCHAIN"
+ wait_for(lambda: l1.rpc.listfunds()["channels"][0]["state"] == "ONCHAIN")
+ wait_for(lambda: l2.rpc.listfunds()["channels"][0]["state"] == "ONCHAIN")
3045
3046
3047
def test_commitfee_option(node_factory):
0 commit comments