Browse Source

fix(contacts): hard code 1 conf for channels

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
e994b3481d
  1. 3
      app/lnd/methods/channelController.js

3
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) => {

Loading…
Cancel
Save