Skip to content

Commit

Permalink
use full proof
Browse files Browse the repository at this point in the history
  • Loading branch information
doublesharp committed Feb 24, 2024
1 parent c1de83e commit 06ae4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/SamWitchVRF.sol
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ contract SamWitchVRF is ISamWitchVRF, UUPSUpgradeable, OwnableUpgradeable {
}

function _randomValueFromVRFProof(uint256[4] memory _proof) private view returns (uint256 output) {
return uint256(keccak256(abi.encode(block.chainid, _proof[0], _proof[1])));
return uint256(keccak256(abi.encode(block.chainid, _proof[0], _proof[1], _proof[2], _proof[3])));
}

// solhint-disable-next-line no-empty-blocks
Expand Down

0 comments on commit 06ae4fd

Please sign in to comment.