mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-26 22:56:42 +02:00
channeldb: return errors in various missed places
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
e2d5825df0
commit
ac617a0d01
@@ -138,7 +138,7 @@ func (p *PaymentControl) InitPayment(paymentHash lntypes.Hash,
|
||||
return bucket.Delete(paymentFailInfoKey)
|
||||
})
|
||||
if err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
return updateErr
|
||||
|
Reference in New Issue
Block a user