From 1b64157048d94a659c83a5ac62460d2f1f82e140 Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Fri, 6 Nov 2020 13:05:13 +0000 Subject: [PATCH] fix(wallet): use correct payload for connectPeer --- services/grpc/lightning.methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/grpc/lightning.methods.js b/services/grpc/lightning.methods.js index 5873984dda6..17a79cc74c1 100644 --- a/services/grpc/lightning.methods.js +++ b/services/grpc/lightning.methods.js @@ -111,7 +111,7 @@ async function ensurePeerConnected(payload = {}) { } const finalPayload = { addr: payload } logGrpcCmd('Lightning.connectPeer', finalPayload) - return this.connectPeer({ addr: finalPayload }) + return this.connectPeer(finalPayload) } /**