Skip to content

Commit

Permalink
Code review rework
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley committed Jul 23, 2024
1 parent c92a2c6 commit ccaf966
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node/pkg/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,11 @@ func (d *Database) StoreSignedVAABatch(vaaBatch []*vaa.VAA) error {
if err != nil {
return err
}

storedVaaTotal.Inc()
}

// Wait for the batch to finish.
err := batchTx.Flush()
storedVaaTotal.Add(float64(len(vaaBatch)))
return err
}

Expand Down

0 comments on commit ccaf966

Please sign in to comment.