From 978ff82f1f84fc647ce778037ac5f81dd8547a53 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Fri, 3 Apr 2020 15:28:49 -0700 Subject: [PATCH] contractcourt/chain_watchter: fix broken log stmts --- contractcourt/chain_watcher.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contractcourt/chain_watcher.go b/contractcourt/chain_watcher.go index 3be9f08d..99565505 100644 --- a/contractcourt/chain_watcher.go +++ b/contractcourt/chain_watcher.go @@ -430,9 +430,11 @@ func newChainSet(chanState *channeldb.OpenChannel) (*chainSet, error) { } log.Debugf("ChannelPoint(%v): local_commit_type=%v, local_commit=%v", - chanState.ChanType, spew.Sdump(localCommit)) + chanState.FundingOutpoint, chanState.ChanType, + spew.Sdump(localCommit)) log.Debugf("ChannelPoint(%v): remote_commit_type=%v, remote_commit=%v", - chanState.ChanType, spew.Sdump(remoteCommit)) + chanState.FundingOutpoint, chanState.ChanType, + spew.Sdump(remoteCommit)) // Fetch the current known commit height for the remote party, and // their pending commitment chain tip if it exists. @@ -458,7 +460,7 @@ func newChainSet(chanState *channeldb.OpenChannel) (*chainSet, error) { if remoteChainTip != nil { remotePendingCommit = &remoteChainTip.Commitment log.Debugf("ChannelPoint(%v): remote_pending_commit_type=%v, "+ - "remote_pending_commit=%v", + "remote_pending_commit=%v", chanState.FundingOutpoint, chanState.ChanType, spew.Sdump(remoteChainTip.Commitment))