multi: update linter, fix new issues

This commit is contained in:
Oliver Gugger committed 2023-06-13 11:58:33 +02:00
1 parent e549096b88
commit 56dba2df03
31 files changed
+263 -301

No files matched your search

+1 -5
View File
@@ -1996,11 +1996,7 @@ func (d *DB) serializeAndStoreInvoice(invoices kvdb.RwBucket, invoiceNum []byte,
return err
}
if err := invoices.Put(invoiceNum, buf.Bytes()); err != nil {
return err
}
return nil
return invoices.Put(invoiceNum, buf.Bytes())
}
// addHTLCs tries to add the htlcs in the given InvoiceUpdateDesc.