From e994b3481d1f57e246d189d367eded5c135b7d2e Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Sat, 6 Jan 2018 13:21:12 -0600 Subject: [PATCH] fix(contacts): hard code 1 conf for channels --- app/lnd/methods/channelController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lnd/methods/channelController.js b/app/lnd/methods/channelController.js index eff2e89e..606d52a0 100644 --- a/app/lnd/methods/channelController.js +++ b/app/lnd/methods/channelController.js @@ -19,7 +19,8 @@ export function connectAndOpen(lnd, meta, event, payload) { const { pubkey, host, localamt } = payload const channelPayload = { node_pubkey: BufferUtil.hexToBuffer(pubkey), - local_funding_amount: Number(localamt) + local_funding_amount: Number(localamt), + num_confs: 1 } return new Promise((resolve, reject) => {