mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
pytest: fundwallet tighten up, make sure we see CONFIRMED in log line
This commit is contained in:
committed by
Christian Decker
parent
245807a085
commit
24f43e5910
@@ -441,7 +441,7 @@ class LightningNode(object):
|
|||||||
addr = self.rpc.newaddr(addrtype)[addrtype]
|
addr = self.rpc.newaddr(addrtype)[addrtype]
|
||||||
txid = self.bitcoin.rpc.sendtoaddress(addr, sats / 10**8)
|
txid = self.bitcoin.rpc.sendtoaddress(addr, sats / 10**8)
|
||||||
self.bitcoin.generate_block(1)
|
self.bitcoin.generate_block(1)
|
||||||
self.daemon.wait_for_log('Owning output .* txid {}'.format(txid))
|
self.daemon.wait_for_log('Owning output .* txid {} CONFIRMED'.format(txid))
|
||||||
return addr, txid
|
return addr, txid
|
||||||
|
|
||||||
def getactivechannels(self):
|
def getactivechannels(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user