Commit 6f4f7ea6 authored by Kelvin Fichter's avatar Kelvin Fichter Committed by GitHub

Small fix for MerkleUtils (#80)

parent a4fae7c7
......@@ -141,7 +141,10 @@ library Lib_MerkleUtils {
defaultHashes[0] = keccak256(abi.encodePacked(uint256(0)));
for (uint256 i = 1; i < defaultHashes.length; i++) {
defaultHashes[i] = keccak256(abi.encodePacked(defaultHashes[i-1]));
defaultHashes[i] = keccak256(abi.encodePacked(
defaultHashes[i-1],
defaultHashes[i-1]
));
}
return defaultHashes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment