mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-26 19:36:29 +02:00
channeldb: return errors in various missed places
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
e2d5825df0
commit
ac617a0d01
@@ -1870,7 +1870,7 @@ func (c *OpenChannel) CommitmentHeight() (uint64, error) {
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
return 0, nil
|
||||
return 0, err
|
||||
}
|
||||
|
||||
return height, nil
|
||||
|
Reference in New Issue
Block a user