We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4f244f commit b637bd3Copy full SHA for b637bd3
test/ln_basic_test.py
@@ -29,6 +29,18 @@ def setup_network(self):
29
self.log.info(self.warnet(f"deploy {self.network_dir}"))
30
self.wait_for_all_tanks_status(target="running")
31
32
+ def wait_for_all_ln_rpc():
33
+ nodes = ["tank-0000-lnd", "tank-0001-lnd", "tank-0002-lnd"]
34
+ for node in nodes:
35
+ try:
36
+ self.warnet(f"ln rpc {node} getinfo")
37
+ except Exception as e:
38
+ print(f"LN node {node} not ready for rpc yet: {e}")
39
+ return False
40
+ return True
41
+
42
+ self.wait_for_predicate(wait_for_all_ln_rpc)
43
44
def fund_wallets(self):
45
self.warnet("bitcoin rpc tank-0000 createwallet miner")
46
self.warnet("bitcoin rpc tank-0000 -generate 110")
0 commit comments