function balanceOf #2
veridelisi
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi @veridelisi in this case it has no effect, since I use the return statement inside function. Maybe I just wanted to give a name because it is possible, I don't remember. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear
I dont understand why you used "balance " keyword in returns. What is the role ?
function balanceOf(address _owner) public override view returns (uint256 balance )
{
return _balances[_owner];
}
Beta Was this translation helpful? Give feedback.
All reactions