Skip to content

Commit

Permalink
CS6.7 - Remove unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincheng96 committed Oct 17, 2024
1 parent aeb8681 commit 93d67ac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/quark-core/src/QuarkScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ abstract contract QuarkScript {
bytes32 submissionToken = getActiveSubmissionToken();
uint256 n;

if (submissionToken == QuarkNonceManagerMetadata.EXHAUSTED) {
return 0;
}

for (n = 0; submissionToken != nonce; n++) {
submissionToken = keccak256(abi.encodePacked(submissionToken));
}
Expand Down

0 comments on commit 93d67ac

Please sign in to comment.