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 15, 2024
1 parent 7d4a98c commit b77d061
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 @@ -156,10 +156,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 b77d061

Please sign in to comment.