Skip to content

Commit

Permalink
Undo unneeded whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HDegroote committed Jul 26, 2024
1 parent d7b8462 commit c6850ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/merkle-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ class MerkleTreeBatch {
}

this.tree.roots = this.roots

this.tree.length = this.length
this.tree.byteLength = this.byteLength
this.tree.fork = this.fork
Expand Down Expand Up @@ -428,9 +427,7 @@ module.exports = class MerkleTree {
constructor (storage, roots, fork, signature, prologue) {
this.crypto = crypto
this.fork = fork

this.roots = roots

this.length = roots.length ? totalSpan(roots) / 2 : 0
this.byteLength = totalSize(roots)
this.signature = signature
Expand Down

0 comments on commit c6850ce

Please sign in to comment.