Skip to content

Commit

Permalink
New variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincheng96 committed Oct 16, 2024
1 parent f8c53e8 commit e9691d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/quark-core/src/QuarkNonceManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ contract QuarkNonceManager {
}

// Note: Even with a valid submission token, we always set non-replayables to exhausted (e.g. for cancellations)
submissionToken = isReplayable ? submissionToken : EXHAUSTED;
submissions[msg.sender][nonce] = submissionToken;
emit NonceSubmitted(msg.sender, nonce, submissionToken);
bytes32 finalSubmissionToken = isReplayable ? submissionToken : EXHAUSTED;
submissions[msg.sender][nonce] = finalSubmissionToken;
emit NonceSubmitted(msg.sender, nonce, finalSubmissionToken);
}
}

0 comments on commit e9691d8

Please sign in to comment.