From d46b262887b038de209a689156c108108e4519a6 Mon Sep 17 00:00:00 2001 From: daveroga Date: Mon, 3 Feb 2025 07:56:10 +0100 Subject: [PATCH] solve solhint warning explicit type --- contracts/payment/MCPayment.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/payment/MCPayment.sol b/contracts/payment/MCPayment.sol index 2d70363e..2eecb127 100644 --- a/contracts/payment/MCPayment.sol +++ b/contracts/payment/MCPayment.sol @@ -361,7 +361,7 @@ contract MCPayment is Ownable2StepUpgradeable, EIP712Upgradeable { * @dev Withdraw ERC-20 balance to owner */ function ownerERC20Withdraw(address token) public onlyOwner { - uint amount = IERC20(token).balanceOf(address(this)); + uint256 amount = IERC20(token).balanceOf(address(this)); if (amount == 0) { revert WithdrawErrorNoBalance(); }