Skip to content

Commit

Permalink
Removing payable (#817)
Browse files Browse the repository at this point in the history
This PR removes the `payable` casting based on the comment
#815 (comment)
  • Loading branch information
remedcu authored Aug 28, 2024
1 parent 75018fb commit b541cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/libraries/SafeMigration.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ contract SafeMigration is SafeStorage {
*/
function migrateWithFallbackHandler() external onlyDelegateCall {
migrateSingleton();
ISafe(payable(address(this))).setFallbackHandler(SAFE_FALLBACK_HANDLER);
ISafe(address(this)).setFallbackHandler(SAFE_FALLBACK_HANDLER);
}

/**
Expand All @@ -99,7 +99,7 @@ contract SafeMigration is SafeStorage {
*/
function migrateL2WithFallbackHandler() external onlyDelegateCall {
migrateL2Singleton();
ISafe(payable(address(this))).setFallbackHandler(SAFE_FALLBACK_HANDLER);
ISafe(address(this)).setFallbackHandler(SAFE_FALLBACK_HANDLER);
}

/**
Expand Down

0 comments on commit b541cd7

Please sign in to comment.