mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-02 14:26:06 -04:00
leafs = 2**(levels - 1)
This commit is contained in:
parent
3404acef48
commit
0689d76df1
2 changed files with 3 additions and 3 deletions
|
@ -185,10 +185,10 @@ contract('MerkleTreeWithHistory', accounts => {
|
|||
}
|
||||
|
||||
let error = await merkleTreeWithHistory.insert(1337).should.be.rejected
|
||||
error.reason.should.be.equal('Merkle tree is full')
|
||||
error.reason.should.be.equal('Merkle tree is full. No more leafs can be added')
|
||||
|
||||
error = await merkleTreeWithHistory.insert(1).should.be.rejected
|
||||
error.reason.should.be.equal('Merkle tree is full')
|
||||
error.reason.should.be.equal('Merkle tree is full. No more leafs can be added')
|
||||
})
|
||||
|
||||
it.skip('mimc gas', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue