1
0

channel_establishment_flow: wait for confirmations of funding txn

This commit is contained in:
SomberNight
2018-04-19 15:05:38 +02:00
committed by ThomasV
parent a4809245b3
commit 4aa9d7ea0d
2 changed files with 27 additions and 3 deletions

View File

@@ -34,8 +34,9 @@ if __name__ == "__main__":
# wallet
storage = WalletStorage(config.get_wallet_path())
wallet = Wallet(storage)
wallet.start_threads(network)
# start peer
peer = Peer(host, port, pubkey, request_initial_sync=False)
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()