channeldb: return errors in various missed places

This commit is contained in:
chokoboko
2019-09-09 12:41:43 +03:00
committed by Olaoluwa Osuntokun
parent e2d5825df0
commit ac617a0d01
4 changed files with 4 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ func (p *PaymentControl) InitPayment(paymentHash lntypes.Hash,
return bucket.Delete(paymentFailInfoKey)
})
if err != nil {
return nil
return err
}
return updateErr