Commit 4a1ff913 by SylTi

replace var by uint256 in StandardToken. Fix #432

parent 83918cad
...@@ -26,7 +26,7 @@ contract StandardToken is ERC20, BasicToken { ...@@ -26,7 +26,7 @@ contract StandardToken is ERC20, BasicToken {
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
require(_to != address(0)); 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 // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
// require (_value <= _allowance); // require (_value <= _allowance);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment