Closed lightningorb closed 2 years ago
That's because addr
needs to be an object too, not a string: https://api.lightning.community/#lnrpclightningaddress
Fair, however this is misleading:
Lightning address of the peer, in the format <pubkey>@host
Didn't see that comment, fixed in https://github.com/lightningnetwork/lnd/pull/6644.
Super thanks.
Background
When i try making a POST to /v1/peers to connect, it returns a syntax error.
Your environment
lnd
: 0.14.3-betabtcd
,bitcoind
, or other backend: not sureSteps to reproduce
Expected behaviour
Connects to the node.
Actual behaviour