tornado-core/contracts/Mocks/MerkleTreeWithHistoryMock.sol

13 lines
279 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 {
2019-11-04 16:04:22 -05:00
constructor (uint32 _treeLevels) MerkleTreeWithHistory(_treeLevels) public {}
2019-07-10 12:58:21 -04:00
2019-11-04 16:04:22 -05:00
function insert(bytes32 _leaf) public {
2019-11-02 09:04:17 -04:00
_insert(_leaf);
2019-07-10 12:58:21 -04:00
}
}