follow up 1aac9e59ed957898fceef99b29b9cc17d7843569
This commit is contained in:
@@ -473,8 +473,7 @@ if __name__ == "__main__":
|
|||||||
set_testnet()
|
set_testnet()
|
||||||
pubkey = binascii.unhexlify(pubkey)
|
pubkey = binascii.unhexlify(pubkey)
|
||||||
port = int(port)
|
port = int(port)
|
||||||
privkey = b"\x21"*32 + b"\x01"
|
peer = Peer(host, port, pubkey)
|
||||||
peer = Peer(privkey, host, port, pubkey)
|
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
loop.run_until_complete(peer.main_loop())
|
loop.run_until_complete(peer.main_loop())
|
||||||
loop.close()
|
loop.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user