Skip to content

Commit

Permalink
chore: small comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0dot committed Aug 15, 2024
1 parent 6715717 commit 5394a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/mocks/SingleSignerFactoryFixture.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ contract SingleSignerFactoryFixture is OptimizedTest {
self = address(this);
}

// TODO: Make createAccount use createAccountFallbackSigner for testing

/**
* create an account, and return its address.
* returns the address even if the account is already deployed.
Expand All @@ -50,6 +48,8 @@ contract SingleSignerFactoryFixture is OptimizedTest {
* account creation
*/
function createAccount(address owner, uint256 salt) public returns (UpgradeableModularAccount) {
// We cast the SemiModularAccount to an UpgradeableModularAccount to facilitate equivalence testing.
// However, we don't do this in the actual factory.
if (vm.envBool("SMA_TEST")) {
return createSemiModularAccount(owner, salt);
}
Expand Down

0 comments on commit 5394a22

Please sign in to comment.