Skip to content

Commit

Permalink
add return true
Browse files Browse the repository at this point in the history
  • Loading branch information
jklepatch committed Mar 4, 2021
1 parent f19b617 commit 19512b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions screencast/308-create-bep20-token-bsc/Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ contract Token {
function approve(address spender, uint value) public returns (bool) {
allowance[msg.sender][spender] = value;
emit Approval(msg.sender, spender, value);
return true;
}
}

0 comments on commit 19512b1

Please sign in to comment.