tornado-core/contracts/Mocks/MerkleTreeWithHistoryMock.sol

13 lines
276 B
Solidity
Raw Normal View History

2019-07-10 18:58:21 +02:00
pragma solidity ^0.5.8;
import '../MerkleTreeWithHistory.sol';
contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
2019-11-02 13:35:22 +01:00
constructor (uint8 tree_levels) MerkleTreeWithHistory(tree_levels) public {}
2019-07-10 18:58:21 +02:00
function insert(uint256 leaf) public {
_insert(leaf);
}
}