tornado-core/contracts/Mocks/MerkleTreeWithHistoryMock.sol
2021-02-11 10:00:53 +03:00

13 lines
333 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "../MerkleTreeWithHistory.sol";
contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
constructor(uint32 _treeLevels, IHasher _hasher) public MerkleTreeWithHistory(_treeLevels, _hasher) {}
function insert(bytes32 _leaf) public {
_insert(_leaf);
}
}