mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 09:34:13 +02:00
multi: wrap all errors
This commit is contained in:
committed by
Andras Banki-Horvath
parent
9a28a4c105
commit
648fb22f63
@@ -254,7 +254,7 @@ func writeRevocationLogs(openChanBucket kvdb.RwBucket,
|
||||
logEntrykey := mig24.MakeLogKey(entry.commitHeight)
|
||||
err = logBucket.Put(logEntrykey[:], b.Bytes())
|
||||
if err != nil {
|
||||
return fmt.Errorf("putRevocationLog err: %v",
|
||||
return fmt.Errorf("putRevocationLog err: %w",
|
||||
err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user