mirror of
https://github.com/arnaucube/go-merkletree-iden3.git
synced 2026-02-07 03:26:46 +01:00
Add golangci-lint to GHA & fix lint warnings
This commit is contained in:
@@ -154,7 +154,7 @@ func (tx *PebbleStorageTx) Add(atx db.Tx) {
|
||||
func (tx *PebbleStorageTx) Commit() error {
|
||||
batch := tx.PebbleStorage.pdb.NewBatch()
|
||||
for _, v := range tx.cache {
|
||||
batch.Set(v.K, v.V, nil)
|
||||
_ = batch.Set(v.K, v.V, nil)
|
||||
}
|
||||
|
||||
tx.cache = nil
|
||||
|
||||
Reference in New Issue
Block a user