Skip to content

Commit

Permalink
Remove extraneous quantity check, fixes OpenZeppelin#1454 (OpenZeppel…
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent authored and nventuro committed Nov 2, 2018
1 parent 6363a77 commit 83bc045
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/token/ERC20/ERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ contract ERC20 is IERC20 {
* @param value The amount that will be burnt.
*/
function _burnFrom(address account, uint256 value) internal {
require(value <= _allowed[account][msg.sender]);

// Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted,
// this function needs to emit an event with the updated approval.
_allowed[account][msg.sender] = _allowed[account][msg.sender].sub(
Expand Down

0 comments on commit 83bc045

Please sign in to comment.