fix: paychmgr - bail out if there's an error writing to store

This commit is contained in:
Dirk McCormick 2020-08-06 14:01:38 -04:00
parent 85f4bc7717
commit 42e1906d9c

View File

@ -407,6 +407,7 @@ func (ca *channelAccessor) mutateChannelInfo(channelID string, mutate func(*Chan
// the message, and then record that the message was sent.
if err != nil {
log.Errorf("Error reading channel info from store: %s", err)
return
}
mutate(channelInfo)