Remove unused local var

This commit is contained in:
Jon Belelieu 2019-12-12 16:08:45 -05:00 committed by GitHub
parent f55ee9876d
commit e2f7dbe1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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({