Skip to content

Commit

Permalink
W2: Unused bytes32 function parameter in EmailRecoveryManager
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGuilding committed Jul 22, 2024
1 parent 0e4234c commit c9028df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/EmailRecoveryManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,14 @@ contract EmailRecoveryManager is EmailAccountRecovery, Initializable, IEmailReco
* @param guardian The address of the guardian to be accepted
* @param templateIdx The index of the template used for acceptance
* @param subjectParams An array of bytes containing the subject parameters
* @param {nullifier} Unused parameter. The nullifier acts as a unique identifier for an email,
* but it is not required in this implementation
*/
function acceptGuardian(
address guardian,
uint256 templateIdx,
bytes[] memory subjectParams,
bytes32
bytes32 /* nullifier */
)
internal
override
Expand Down Expand Up @@ -340,12 +342,14 @@ contract EmailRecoveryManager is EmailAccountRecovery, Initializable, IEmailReco
* @param guardian The address of the guardian initiating the recovery
* @param templateIdx The index of the template used for the recovery request
* @param subjectParams An array of bytes containing the subject parameters
* @param {nullifier} Unused parameter. The nullifier acts as a unique identifier for an email,
* but it is not required in this implementation
*/
function processRecovery(
address guardian,
uint256 templateIdx,
bytes[] memory subjectParams,
bytes32
bytes32 /* nullifier */
)
internal
override
Expand Down

0 comments on commit c9028df

Please sign in to comment.