Remove unused local var
This commit is contained in:
parent
f55ee9876d
commit
e2f7dbe1f5
2
index.ts
2
index.ts
|
@ -236,7 +236,7 @@ export class MerkleTree {
|
|||
const layer = this.layers[i]
|
||||
const isRightNode = index % 2
|
||||
const pairIndex = (isRightNode ? index - 1 : index)
|
||||
const position = isRightNode ? 'left' : 'right'
|
||||
// const position = isRightNode ? 'left' : 'right'
|
||||
|
||||
if (pairIndex < layer.length) {
|
||||
proof.push({
|
||||
|
|
Loading…
Reference in New Issue