Skip to content

Commit

Permalink
Remove redundant stats update
Browse files Browse the repository at this point in the history
  • Loading branch information
scorbajio committed May 9, 2024
1 parent 9021157 commit fd536b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/trie/src/db/checkpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ export class CheckpointDB implements DB {
} else if (op.type === 'del') {
await this.del(op.key)
}
this._stats.db.writes += 1
}
} else {
const convertedOps = opStack.map((op) => {
Expand Down
1 change: 0 additions & 1 deletion packages/verkle/src/db/checkpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ export class CheckpointDB implements DB {
} else if (op.type === 'del') {
await this.del(op.key)
}
this._stats.db.writes += 1
}
} else {
const convertedOps = opStack.map((op) => {
Expand Down

0 comments on commit fd536b8

Please sign in to comment.