mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-19 13:18:26 +02:00
Change type of port to int in protocol in buy offer (#51)
This commit is contained in:
parent
7dafb7ce2e
commit
7a79f4b569
2 changed files with 2 additions and 2 deletions
|
|
@ -117,5 +117,5 @@ message SqueakBuyOffer {
|
|||
string host = 7;
|
||||
|
||||
/// The port of the seller lightning node
|
||||
string port = 8;
|
||||
int32 port = 8;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ def load_lightning_host_port(config) -> LNDLightningClient:
|
|||
lnd_ip_address = socket.gethostbyname(
|
||||
config['lnd']['host'],
|
||||
)
|
||||
lnd_port = config['lnd']['port']
|
||||
lnd_port = int(config['lnd']['port'])
|
||||
return LightningAddressHostPort(
|
||||
lnd_ip_address,
|
||||
lnd_port,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue