From 2bb751bfd173686c0f8b6d55b01d1570c7851198 Mon Sep 17 00:00:00 2001 From: poma Date: Fri, 1 Nov 2019 04:30:07 +0300 Subject: [PATCH] change ROOT_HISTORY_SIZE type --- contracts/MerkleTreeWithHistory.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/MerkleTreeWithHistory.sol b/contracts/MerkleTreeWithHistory.sol index 39145b9..6fc6b3a 100644 --- a/contracts/MerkleTreeWithHistory.sol +++ b/contracts/MerkleTreeWithHistory.sol @@ -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;