From 83bc045a56d891726ab3a4cbdd6be35e0023e72c Mon Sep 17 00:00:00 2001 From: William Entriken Date: Fri, 2 Nov 2018 06:16:35 -0400 Subject: [PATCH] Remove extraneous quantity check, fixes #1454 (#1455) --- contracts/token/ERC20/ERC20.sol | 2 -- 1 file changed, 2 deletions(-) diff --git a/contracts/token/ERC20/ERC20.sol b/contracts/token/ERC20/ERC20.sol index 6af870865..5c550539f 100644 --- a/contracts/token/ERC20/ERC20.sol +++ b/contracts/token/ERC20/ERC20.sol @@ -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(