diff --git a/funding/manager.go b/funding/manager.go index b012de48d..2f020b9d5 100644 --- a/funding/manager.go +++ b/funding/manager.go @@ -1556,6 +1556,8 @@ func (f *Manager) fundeeProcessOpenChannel(peer lnpeer.Peer, // Fail the funding flow. flowErr := fmt.Errorf("channel acceptor blocked " + "zero-conf channel negotiation") + log.Errorf("Cancelling funding flow for %v based on "+ + "channel acceptor response: %v", cid, flowErr) f.failFundingFlow(peer, cid, flowErr) return } @@ -1570,6 +1572,9 @@ func (f *Manager) fundeeProcessOpenChannel(peer lnpeer.Peer, // Fail the funding flow. flowErr := fmt.Errorf("scid-alias feature " + "must be negotiated for zero-conf") + log.Errorf("Cancelling funding flow for "+ + "zero-conf channel %v: %v", cid, + flowErr) f.failFundingFlow(peer, cid, flowErr) return } @@ -1586,7 +1591,8 @@ func (f *Manager) fundeeProcessOpenChannel(peer lnpeer.Peer, case public && scid: err = fmt.Errorf("option-scid-alias chantype for public " + "channel") - log.Error(err) + log.Errorf("Cancelling funding flow for public channel %v "+ + "with scid-alias: %v", cid, err) f.failFundingFlow(peer, cid, err) return @@ -1595,7 +1601,8 @@ func (f *Manager) fundeeProcessOpenChannel(peer lnpeer.Peer, // unadvertised channels for now. case commitType.IsTaproot() && public: err = fmt.Errorf("taproot channel type for public channel") - log.Error(err) + log.Errorf("Cancelling funding flow for public taproot "+ + "channel %v: %v", cid, err) f.failFundingFlow(peer, cid, err) return