From b541cd7e5d745b223644024b930b19a2a3836d1e Mon Sep 17 00:00:00 2001 From: Shebin John Date: Wed, 28 Aug 2024 15:23:32 +0200 Subject: [PATCH] Removing `payable` (#817) This PR removes the `payable` casting based on the comment https://github.com/safe-global/safe-smart-account/pull/815#discussion_r1734636149 --- contracts/libraries/SafeMigration.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/libraries/SafeMigration.sol b/contracts/libraries/SafeMigration.sol index a267d24ac..fcec7d884 100644 --- a/contracts/libraries/SafeMigration.sol +++ b/contracts/libraries/SafeMigration.sol @@ -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); } /** @@ -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); } /**