mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 07:23:25 +00:00
lnbase: initialize loop variable in main
This commit is contained in:
parent
9617447a0f
commit
b9ca972445
1 changed files with 1 additions and 0 deletions
|
@ -415,5 +415,6 @@ if __name__ == "__main__":
|
|||
port = int(port)
|
||||
privkey = b"\x21"*32 + b"\x01"
|
||||
peer = Peer(privkey, host, port, pubkey)
|
||||
loop = asyncio.get_event_loop()
|
||||
loop.run_until_complete(peer.main_loop())
|
||||
loop.close()
|
||||
|
|
Loading…
Add table
Reference in a new issue