Skip to content

Commit

Permalink
remove unnecessary fallback function
Browse files Browse the repository at this point in the history
  • Loading branch information
gianchandania committed Jan 23, 2024
1 parent 8111aea commit 77987e6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions contracts/recoveryContracts/RecoveryWalletSimple.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ contract RecoveryWalletSimple is IERC721Receiver, ERC1155Receiver {
require(!initialized, 'Contract already initialized');
_;
}

/**
* Gets called when a transaction is received with data that does not match any other method
*/
fallback() external payable {}


/**
* Gets called when a transaction is received with ether and no data
*/
Expand Down

0 comments on commit 77987e6

Please sign in to comment.