From a1f7de0ca1ddb2df3ebd206779512a22a2c0b090 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Fri, 14 Oct 2016 10:55:16 -0300 Subject: [PATCH] fix problems with StandardToken --- contracts/Bounty.sol | 1 - contracts/StandardToken.sol | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/Bounty.sol b/contracts/Bounty.sol index f530ac6ad..c37597f09 100644 --- a/contracts/Bounty.sol +++ b/contracts/Bounty.sol @@ -1,6 +1,5 @@ pragma solidity ^0.4.0; import './PullPayment.sol'; -import './Token.sol'; /* * Bounty diff --git a/contracts/StandardToken.sol b/contracts/StandardToken.sol index 3d3c3e1d0..63b277a83 100644 --- a/contracts/StandardToken.sol +++ b/contracts/StandardToken.sol @@ -29,7 +29,7 @@ contract StandardToken is ERC20, SafeMath { function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { var _allowance = allowed[_from][msg.sender]; if (balances[_from] < _value || - _allowance < _value)) { + _allowance < _value) { throw; }