mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-17 13:07:32 +02:00
Fix parse port from lnd get info uris convert to int (#1253)
This commit is contained in:
parent
1941b6673a
commit
fa5bc6e153
1 changed files with 2 additions and 1 deletions
|
|
@ -198,7 +198,8 @@ class SqueakCore:
|
|||
logger.info("Packaging offer with uris: {}".format(uris))
|
||||
for uri in uris:
|
||||
pubkey, address = uri.split("@")
|
||||
host, port = address.split(":")
|
||||
host, port_str = address.split(":")
|
||||
port = int(port_str)
|
||||
return LightningAddressHostPort(
|
||||
host=host,
|
||||
port=port,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue