Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
chm-diederichs committed Jan 8, 2025
1 parent 22395fc commit 80ff404
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/merkle-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,17 +549,6 @@ class MerkleTree {
return Promise.all(roots)
}

// setRoots (roots, signature) {
// this.length = totalSpan(roots) / 2
// this.byteLength = totalSize(roots)
// this.roots = roots
// this.signature = signature
// }

// setPrologue ({ hash, length }) {
// this.prologue = { hash, length }
// }

getNeededNodes (length, start, end) {
const nodes = new Map()
const head = length * 2
Expand Down

0 comments on commit 80ff404

Please sign in to comment.