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 " +
|
Usage: "(optional) the minimum number of confirmations " +
|
||||||
"each one of your outputs used for the funding " +
|
"each one of your outputs used for the funding " +
|
||||||
"transaction must satisfy",
|
"transaction must satisfy",
|
||||||
|
Value: 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Action: actionDecorator(openChannel),
|
Action: actionDecorator(openChannel),
|
||||||
|
@ -2631,9 +2631,9 @@ func (f *fundingManager) handleInitFundingMsg(msg *initFundingMsg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fndgLog.Infof("Initiating fundingRequest(localAmt=%v, remoteAmt=%v, "+
|
fndgLog.Infof("Initiating fundingRequest(localAmt=%v, remoteAmt=%v, "+
|
||||||
"capacity=%v, chainhash=%v, peer=%x, dustLimit=%v)", localAmt,
|
"capacity=%v, chainhash=%v, peer=%x, dustLimit=%v, min_confs=%v)",
|
||||||
msg.pushAmt, capacity, msg.chainHash, peerKey.SerializeCompressed(),
|
localAmt, msg.pushAmt, capacity, msg.chainHash,
|
||||||
ourDustLimit)
|
peerKey.SerializeCompressed(), ourDustLimit, msg.minConfs)
|
||||||
|
|
||||||
// First, we'll query the fee estimator for a fee that should get the
|
// First, we'll query the fee estimator for a fee that should get the
|
||||||
// commitment transaction confirmed by the next few blocks (conf target
|
// commitment transaction confirmed by the next few blocks (conf target
|
||||||
|
Loading…
Reference in New Issue
Block a user