mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 05:08:13 +02:00
funding: properly log pubkey of peer within handleInitFundingMsg
Before this commit, we would log the struct of the pubkey, rather than the serialized compressed version.
This commit is contained in:
@@ -2573,8 +2573,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, addr=%v, dustLimit=%v)", localAmt,
|
"capacity=%v, chainhash=%v, peer=%x, dustLimit=%v)", localAmt,
|
||||||
msg.pushAmt, capacity, msg.chainHash, peerKey, ourDustLimit)
|
msg.pushAmt, capacity, msg.chainHash, peerKey.SerializeCompressed(),
|
||||||
|
ourDustLimit)
|
||||||
|
|
||||||
// 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
|
||||||
|
Reference in New Issue
Block a user