channeldb+contractcourt: add additional logging around co-op channel closes

This commit is contained in:
Olaoluwa Osuntokun committed 2018-04-12 17:13:37 -07:00
1 parent f667e3b29f
commit 7a13378671
3 files changed
+17 -12

No files matched your search

+2 -2
View File
@@ -493,8 +493,8 @@ func (d *DB) MarkChanFullyClosed(chanPoint *wire.OutPoint) error {
chanSummaryBytes := closedChanBucket.Get(chanID)
if chanSummaryBytes == nil {
return fmt.Errorf("no closed channel by that chanID " +
"found")
return fmt.Errorf("no closed channel for "+
"chan_point=%v found", chanPoint)
}
chanSummaryReader := bytes.NewReader(chanSummaryBytes)