pytest: fundwallet tighten up, make sure we see CONFIRMED in log line

This commit is contained in:
Simon Vrouwe 2019-03-25 11:40:26 +02:00 committed by Christian Decker
parent 245807a085
commit 24f43e5910

View File

@ -441,7 +441,7 @@ class LightningNode(object):
addr = self.rpc.newaddr(addrtype)[addrtype]
txid = self.bitcoin.rpc.sendtoaddress(addr, sats / 10**8)
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
def getactivechannels(self):