Skip to content

Commit

Permalink
do not return batch early
Browse files Browse the repository at this point in the history
  • Loading branch information
chm-diederichs committed Oct 7, 2024
1 parent 5db484a commit 40ca500
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/merkle-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,6 @@ module.exports = class MerkleTree {

const batch = this.batch()

if (from === to) return batch

const reader = tree.storage.createReadBatch()

// upgrade
Expand Down

0 comments on commit 40ca500

Please sign in to comment.