follow up 1aac9e59ed957898fceef99b29b9cc17d7843569

This commit is contained in:
ThomasV 2018-04-13 09:04:44 +02:00 committed by SomberNight
parent 79228c9ad8
commit ff80d1aa26
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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()