LND Connect Peer Bug Fix #778 (#785)

LND Connect Peer Bug Fix #778
pull/786/head
ShahanaFarooqui 3 years ago committed by GitHub
parent 0e77a52814
commit d78898b7d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,7 +43,7 @@ exports.postPeer = (req, res, next) => {
options = common.getOptions();
options.url = common.getSelLNServerUrl() + '/v1/peers';
options.form = JSON.stringify({
// addr: { host: req.body.host, pubkey: req.body.pubkey },
addr: { host: req.body.host, pubkey: req.body.pubkey },
perm: req.body.perm
});
request.post(options).then((body) => {

Loading…
Cancel
Save