Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
replace var by uint256 in StandardToken. Fix #432
  • Loading branch information
SylTi committed Sep 18, 2017
commit 4a1ff913ab2585523d2f28388c707c6b89090c76
2 changes: 1 addition & 1 deletion contracts/token/StandardToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract StandardToken is ERC20, BasicToken {
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
require(_to != address(0));

var _allowance = allowed[_from][msg.sender];
uint256 _allowance = allowed[_from][msg.sender];

// Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
// require (_value <= _allowance);
Expand Down