Commit a1f7de0c by Manuel Araoz

fix problems with StandardToken

parent 30d437c7
pragma solidity ^0.4.0; pragma solidity ^0.4.0;
import './PullPayment.sol'; import './PullPayment.sol';
import './Token.sol';
/* /*
* Bounty * Bounty
......
...@@ -29,7 +29,7 @@ contract StandardToken is ERC20, SafeMath { ...@@ -29,7 +29,7 @@ contract StandardToken is ERC20, SafeMath {
function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
var _allowance = allowed[_from][msg.sender]; var _allowance = allowed[_from][msg.sender];
if (balances[_from] < _value || if (balances[_from] < _value ||
_allowance < _value)) { _allowance < _value) {
throw; throw;
} }
......
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