Browse Source
lnbase: initialize loop variable in main
regtest_lnd
Janus
7 years ago
committed by
SomberNight
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
0 deletions
-
lib/lnbase.py
|
|
@ -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() |
|
|
|