mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-26 11:48:57 +01:00
13 lines
308 B
Solidity
13 lines
308 B
Solidity
|
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);
|
||
|
}
|
||
|
}
|