Skip to content

Commit

Permalink
fix: confirmed submission check
Browse files Browse the repository at this point in the history
  • Loading branch information
0xClandestine committed Sep 19, 2024
1 parent 1c04575 commit 4f843b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracts/core/StakeRootCompendium.sol
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ contract StakeRootCompendium is StakeRootCompendiumStorage {
// Assert the stake root matches the stake root submission.
require(stakeRootSubmission.stakeRoot == stakeRoot, StakeRootDoesNotMatch());
// Assert the stake root has not already been confirmed.
require(stakeRootSubmission.confirmed, TimestampAlreadyConfirmed());
require(!stakeRootSubmission.confirmed, TimestampAlreadyConfirmed());
// Confirm the stake root.
stakeRootSubmission.confirmed = true;
}
Expand Down

0 comments on commit 4f843b6

Please sign in to comment.