Skip to content

Commit

Permalink
Revert changes to standard token.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed May 3, 2017
1 parent e0266b7 commit 1f058ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/StandardToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract StandardToken is Token {
}

function transfer(address _to, uint256 _value) returns (bool success) {
success = doTransfer(msg.sender, _to, _value);
return doTransfer(msg.sender, _to, _value);
}

function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
Expand All @@ -36,7 +36,7 @@ contract StandardToken is Token {
}
}

function doTransfer(address _from, address _to, uint _value) internal returns (bool) {
function doTransfer(address _from, address _to, uint _value) internal returns (bool success) {
if (balance[_from] >= _value && balance[_to] + _value >= balance[_to]) {
balance[_from] -= _value;
balance[_to] += _value;
Expand All @@ -47,7 +47,7 @@ contract StandardToken is Token {
}
}

function approve(address _spender, uint256 _value) returns (bool) {
function approve(address _spender, uint256 _value) returns (bool success) {
m_allowance[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
Expand Down

0 comments on commit 1f058ea

Please sign in to comment.