We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b14d74 commit 73d15feCopy full SHA for 73d15fe
src/main/scala/scorex/crypto/authds/merkle/MerkleTree.scala
@@ -148,7 +148,6 @@ object MerkleTree {
148
val elementsIndex: Map[mutable.WrappedArray.ofByte, Int] = leafs.indices.map { i =>
149
(new mutable.WrappedArray.ofByte(leafs(i).hash), i)
150
}.toMap
151
- val hashes = leafs.map(_.hash)
152
val topNode = calcTopNode[D](leafs)
153
154
MerkleTree(topNode, elementsIndex)
0 commit comments