diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 8d852ed8..f88b3976 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -474,6 +474,7 @@ var openChannelCommand = cli.Command{ Usage: "(optional) the minimum number of confirmations " + "each one of your outputs used for the funding " + "transaction must satisfy", + Value: 1, }, }, Action: actionDecorator(openChannel), diff --git a/fundingmanager.go b/fundingmanager.go index 2ab37788..49b23ecd 100644 --- a/fundingmanager.go +++ b/fundingmanager.go @@ -2631,9 +2631,9 @@ func (f *fundingManager) handleInitFundingMsg(msg *initFundingMsg) { } fndgLog.Infof("Initiating fundingRequest(localAmt=%v, remoteAmt=%v, "+ - "capacity=%v, chainhash=%v, peer=%x, dustLimit=%v)", localAmt, - msg.pushAmt, capacity, msg.chainHash, peerKey.SerializeCompressed(), - ourDustLimit) + "capacity=%v, chainhash=%v, peer=%x, dustLimit=%v, min_confs=%v)", + localAmt, msg.pushAmt, capacity, msg.chainHash, + peerKey.SerializeCompressed(), ourDustLimit, msg.minConfs) // First, we'll query the fee estimator for a fee that should get the // commitment transaction confirmed by the next few blocks (conf target