Skip to content

Commit

Permalink
Update PI-Wallet.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jun 15, 2024
1 parent 9ea9cb7 commit 83c017d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contract PIWallet {
emit Transfer(msg.sender, _to, _amount);
}

function withdrawTo(address _to, uint256 _amount) public onlyOwner {
function withdrawTo(address _to, uint256 _amount) public onlyOwner {
require(_to != address(0), "Invalid address");
require(_amount > 0, "Invalid amount");

Expand Down

0 comments on commit 83c017d

Please sign in to comment.