Skip to content

Commit

Permalink
Emit absolute balances with approval events
Browse files Browse the repository at this point in the history
  • Loading branch information
truls committed Jan 27, 2019
1 parent 41bb56b commit bc0516c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/token/ERC20/ExternalERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ contract ExternalERC20 is IERC20 {
_externalERC20Storage.allowed(from, originSender).sub(value)
);
_transfer(from, to, value);
emit Approval(from, originSender, value);
emit Approval(from, originSender, _externalERC20Storage.allowed(from, originSender));
}

/**
Expand Down Expand Up @@ -266,6 +266,6 @@ contract ExternalERC20 is IERC20 {
_externalERC20Storage.allowed(account, burner).sub(value)
);
_burn(account, value);
emit Approval(account, burner, value);
emit Approval(account, burner, _externalERC20Storage.allowed(account, burner));
}
}

0 comments on commit bc0516c

Please sign in to comment.