diff --git a/contracts/nft/contracts/evm/UniversalNFT.sol b/contracts/nft/contracts/evm/UniversalNFT.sol index 6f68cae..08413de 100644 --- a/contracts/nft/contracts/evm/UniversalNFT.sol +++ b/contracts/nft/contracts/evm/UniversalNFT.sol @@ -157,10 +157,6 @@ contract UniversalNFT is emit TokenTransferReverted(sender, tokenId, uri); } - receive() external payable {} - - fallback() external payable {} - // The following functions are overrides required by Solidity. function _update( @@ -211,4 +207,6 @@ contract UniversalNFT is function _authorizeUpgrade( address newImplementation ) internal override onlyOwner {} + + receive() external payable {} } diff --git a/contracts/token/contracts/evm/UniversalToken.sol b/contracts/token/contracts/evm/UniversalToken.sol index 348499c..b61227c 100644 --- a/contracts/token/contracts/evm/UniversalToken.sol +++ b/contracts/token/contracts/evm/UniversalToken.sol @@ -128,11 +128,9 @@ contract UniversalToken is emit TokenTransferReverted(receiver, amount); } - receive() external payable {} - - fallback() external payable {} - function _authorizeUpgrade( address newImplementation ) internal override onlyOwner {} + + receive() external payable {} }