From bd62ef6411604e593861621525c4f9e0140a1cdd Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 15 Aug 2018 21:41:48 -0700 Subject: [PATCH] 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. --- fundingmanager.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fundingmanager.go b/fundingmanager.go index 68550ab32..4a4e14f27 100644 --- a/fundingmanager.go +++ b/fundingmanager.go @@ -2573,8 +2573,9 @@ func (f *fundingManager) handleInitFundingMsg(msg *initFundingMsg) { } fndgLog.Infof("Initiating fundingRequest(localAmt=%v, remoteAmt=%v, "+ - "capacity=%v, chainhash=%v, addr=%v, dustLimit=%v)", localAmt, - msg.pushAmt, capacity, msg.chainHash, peerKey, ourDustLimit) + "capacity=%v, chainhash=%v, peer=%x, dustLimit=%v)", localAmt, + msg.pushAmt, capacity, msg.chainHash, peerKey.SerializeCompressed(), + ourDustLimit) // First, we'll query the fee estimator for a fee that should get the // commitment transaction confirmed by the next few blocks (conf target