mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
df-tests: test_funding_reorg_private
This commit is contained in:
committed by
Christian Decker
parent
09834bbc8d
commit
0d45823b82
@@ -1161,8 +1161,10 @@ def test_funding_reorg_private(node_factory, bitcoind):
|
|||||||
|
|
||||||
l1.rpc.fundchannel(l2.info['id'], "all", announce=False)
|
l1.rpc.fundchannel(l2.info['id'], "all", announce=False)
|
||||||
bitcoind.generate_block(1) # height 106
|
bitcoind.generate_block(1) # height 106
|
||||||
|
|
||||||
|
daemon = 'DUALOPEND' if l1.config('experimental-dual-fund') else 'CHANNELD'
|
||||||
wait_for(lambda: only_one(l1.rpc.listpeers()['peers'][0]['channels'])['status']
|
wait_for(lambda: only_one(l1.rpc.listpeers()['peers'][0]['channels'])['status']
|
||||||
== ['CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations for lockin.'])
|
== ['{}_AWAITING_LOCKIN:Funding needs 1 more confirmations for lockin.'.format(daemon)])
|
||||||
bitcoind.generate_block(1) # height 107
|
bitcoind.generate_block(1) # height 107
|
||||||
l1.wait_channel_active('106x1x0')
|
l1.wait_channel_active('106x1x0')
|
||||||
l1.stop()
|
l1.stop()
|
||||||
|
|||||||
Reference in New Issue
Block a user