diff --git a/squeaknode/core/squeak_core.py b/squeaknode/core/squeak_core.py index 82d376e2..b5235fec 100644 --- a/squeaknode/core/squeak_core.py +++ b/squeaknode/core/squeak_core.py @@ -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,