Skip to content

Conversation

@mohamadhammoud
Copy link
Collaborator

No description provided.

@mohamadhammoud mohamadhammoud self-assigned this Jan 3, 2026
/// @notice Reverts if the factory is already registered
error AlreadyAFactory(address factory);

/// @notice Reverts when the recovered signer does not match the wallet being registered
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove all these new errors which are not used anymore

signature
);
require(error == ECDSA.RecoverError.NoError, Errors.InvalidSignature());
require(signer == wallet, Errors.InvalidSignature());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a single statement with && and use existing ECDSA.ECDSAInvalidSignature error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants