committed by
Nicolás Venturo
parent
6363a776f7
commit
83bc045a56
@ -197,8 +197,6 @@ contract ERC20 is IERC20 {
|
|||||||
* @param value The amount that will be burnt.
|
* @param value The amount that will be burnt.
|
||||||
*/
|
*/
|
||||||
function _burnFrom(address account, uint256 value) internal {
|
function _burnFrom(address account, uint256 value) internal {
|
||||||
require(value <= _allowed[account][msg.sender]);
|
|
||||||
|
|
||||||
// Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted,
|
// Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted,
|
||||||
// this function needs to emit an event with the updated approval.
|
// this function needs to emit an event with the updated approval.
|
||||||
_allowed[account][msg.sender] = _allowed[account][msg.sender].sub(
|
_allowed[account][msg.sender] = _allowed[account][msg.sender].sub(
|
||||||
|
|||||||
Reference in New Issue
Block a user