mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
pyln-testing: in LightningNode.openchannel, make wait_for_announce more reliable
it now waits for 'alias' in node_announcement, not just block confirms. more cleanup
This commit is contained in:
committed by
Rusty Russell
parent
f84e1a0536
commit
84bead9396
@@ -452,7 +452,7 @@ def test_bech32_funding(node_factory, chainparams):
|
||||
wallettxid = res['wallettxid']
|
||||
|
||||
wallettx = l1.bitcoin.rpc.getrawtransaction(wallettxid, True)
|
||||
fundingtx = l1.bitcoin.rpc.decoderawtransaction(res['fundingtx']['tx'])
|
||||
fundingtx = l1.bitcoin.rpc.decoderawtransaction(res['fundingtx'])
|
||||
|
||||
def is_p2wpkh(output):
|
||||
return output['type'] == 'witness_v0_keyhash' and \
|
||||
|
||||
Reference in New Issue
Block a user