tornado-core/contracts/Mocks/MerkleTreeWithHistoryMock.sol

13 lines
308 B
Solidity
Raw Normal View History

2019-07-10 12:58:21 -04:00
pragma solidity ^0.5.8;
import '../MerkleTreeWithHistory.sol';
contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
constructor (uint8 tree_levels, uint256 zero_value) MerkleTreeWithHistory(tree_levels, zero_value) public {}
function insert(uint256 leaf) public {
_insert(leaf);
}
}