Skip to content

Commit

Permalink
solve solhint warning explicit type
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroga committed Feb 3, 2025
1 parent 7a5f833 commit d46b262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/payment/MCPayment.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit d46b262

Please sign in to comment.