change ROOT_HISTORY_SIZE type

This commit is contained in:
poma 2019-11-01 04:30:07 +03:00
parent 48cc57fad7
commit 2bb751bfd1

View File

@ -18,7 +18,7 @@ library Hasher {
contract MerkleTreeWithHistory {
uint256 public levels;
uint8 constant ROOT_HISTORY_SIZE = 100;
uint256 constant ROOT_HISTORY_SIZE = 100;
uint256[] private _roots;
uint256 public current_root = 0;