1
0

lnbase: fix custom local to_self_delay, use node privkey derived from timestamp in online test

This commit is contained in:
Janus
2018-05-02 14:22:54 +02:00
committed by ThomasV
parent 517e19ebab
commit fa80fd4bd5
3 changed files with 9 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ if __name__ == "__main__":
wallet = Wallet(storage)
wallet.start_threads(network)
# start peer
privkey = sha256('1234567890')
privkey = sha256(str(time.time()))
peer = Peer(host, port, pubkey, privkey, request_initial_sync=False, network=network)
network.futures.append(asyncio.run_coroutine_threadsafe(peer.main_loop(), network.asyncio_loop))