contractcourt: properly log error if unable to update chan close state
This commit is contained in:
parent
12cb35a6c9
commit
bc029b9cd4
@ -747,8 +747,8 @@ func (c *CooperativeCloseCtx) LogPotentialClose(potentialClose *channeldb.Channe
|
||||
err := c.watcher.chanState.CloseChannel(potentialClose)
|
||||
if err != nil {
|
||||
log.Warnf("unable to update latest close for "+
|
||||
"ChannelPoint(%v)",
|
||||
c.watcher.chanState.FundingOutpoint)
|
||||
"ChannelPoint(%v): %v",
|
||||
c.watcher.chanState.FundingOutpoint, err)
|
||||
}
|
||||
|
||||
err = c.watcher.markChanClosed()
|
||||
|
Loading…
Reference in New Issue
Block a user