mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
13 lines
374 B
Solidity
13 lines
374 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.7.0;
|
|
|
|
import "../MerkleTreeWithHistory.sol";
|
|
|
|
contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
|
|
constructor(uint32 _levels, address _hasher) MerkleTreeWithHistory(_levels, _hasher) {}
|
|
|
|
function insert(bytes32 _leaf1, bytes32 _leaf2) public returns (uint32 index) {
|
|
return _insert(_leaf1, _leaf2);
|
|
}
|
|
}
|