cmd/lncli+fundingmanager: use a default num min confs for 1 for openchannel
This commit is contained in:
parent
d4fdc41c8c
commit
b343ef24e7
@ -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),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user