The peerd daemon uses only the default port instead of the port number parameter.
Steps to Reproduce
Launch lnpdwithout--threaded argument.
Run lnp-cli listen with --port argument.
Expected: The lnpd launch peerd with defined port argument.
Current: the microservice::supervisor try spawn peerd with port 9999 and causes rust panic (Unable to bind to Lightning network peer socket: Os { code: 98, kind: AddrInUse, message: "Address already in use" })
Description
The
peerd
daemon uses only the default port instead of the port number parameter.Steps to Reproduce
lnpd
without --threaded argument.lnp-cli listen
with --port argument.Expected: The
lnpd
launchpeerd
with defined port argument. Current: themicroservice::supervisor
try spawnpeerd
with port 9999 and causes rust panic (Unable to bind to Lightning network peer socket: Os { code: 98, kind: AddrInUse, message: "Address already in use" }
)This PR fixies this.