Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions contracts/ERC20Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ contract ERC20Token is ERC20Interface, Owned {
}


/*
* Note that when changing the approved allowance for a spender the sender should
* first check that the allowance for the spender is zero.
*/
function approve(address _spender, uint256 _value) public returns (bool success) {

allowed[msg.sender][_spender] = _value;
Expand Down