Skip to content

Commit

Permalink
add prevrandao
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError committed Feb 5, 2024
1 parent 9b7d15f commit 91d50ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Redistribution.sol
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ contract Redistribution is AccessControl, Pausable {
if (
currentCommit.revealed &&
(truthRevealedHash != currentReveal.hash || truthRevealedDepth != currentReveal.depth) &&
((uint256(seed) % 100) < 20)
(block.prevrandao % 100 < 20)
) {
Stakes.freezeDeposit(
currentReveal.overlay,
Expand Down

0 comments on commit 91d50ef

Please sign in to comment.