contractcourt: properly log error if unable to update chan close state

This commit is contained in:
Olaoluwa Osuntokun 2018-04-10 16:55:23 -07:00
parent 12cb35a6c9
commit bc029b9cd4
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -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()