mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
follow up 1aac9e59ed957898fceef99b29b9cc17d7843569
This commit is contained in:
parent
79228c9ad8
commit
ff80d1aa26
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue