channeldb: return errors in various missed places

This commit is contained in:
chokoboko authored and Olaoluwa Osuntokun committed 2019-09-09 02:41:43 -07:00
1 parent e2d5825df0
commit ac617a0d01
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1870,7 +1870,7 @@ func (c *OpenChannel) CommitmentHeight() (uint64, error) {
return nil
})
if err != nil {
return 0, nil
return 0, err
}
return height, nil