1
0

lnbase: avoid race while waiting for funding_locked, wait for un-reversed hash

This commit is contained in:
Janus
2018-04-19 17:28:20 +02:00
committed by ThomasV
parent 4d3c34e04e
commit f0e19ffdfd
2 changed files with 17 additions and 16 deletions

View File

@@ -39,7 +39,6 @@ if __name__ == "__main__":
peer = Peer(host, port, pubkey, request_initial_sync=False, network=network)
network.futures.append(asyncio.run_coroutine_threadsafe(peer.main_loop(), network.asyncio_loop))
# run blocking test
start = time.time()
coro = peer.channel_establishment_flow(wallet, config)
fut = asyncio.run_coroutine_threadsafe(coro, network.asyncio_loop)
while network.asyncio_loop.is_running():