mirror of
https://github.com/tornadocash/fixed-merkle-tree.git
synced 2024-11-22 01:37:09 +01:00
fix linter
This commit is contained in:
parent
d601a30436
commit
bb55160b17
@ -185,7 +185,7 @@ describe('MerkleTree', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('should work for correct string index', () => {
|
it('should work for correct string index', () => {
|
||||||
const tree = new MerkleTree(10, [1, 2, 3, 4, 5]);
|
const tree = new MerkleTree(10, [1, 2, 3, 4, 5])
|
||||||
const path = tree.path('2')
|
const path = tree.path('2')
|
||||||
path.pathIndices.should.be.deep.equal([0, 1, 0, 0, 0, 0, 0, 0, 0, 0])
|
path.pathIndices.should.be.deep.equal([0, 1, 0, 0, 0, 0, 0, 0, 0, 0])
|
||||||
path.pathElements.should.be.deep.equal([
|
path.pathElements.should.be.deep.equal([
|
||||||
|
Loading…
Reference in New Issue
Block a user