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:
1 file changed
+3
-2
+3
-2
@@ -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