Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
83bc045a
Commit
83bc045a
authored
Nov 02, 2018
by
William Entriken
Committed by
Nicolás Venturo
Nov 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extraneous quantity check, fixes #1454 (#1455)
parent
6363a776
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
ERC20.sol
contracts/token/ERC20/ERC20.sol
+0
-2
No files found.
contracts/token/ERC20/ERC20.sol
View file @
83bc045a
...
@@ -197,8 +197,6 @@ contract ERC20 is IERC20 {
...
@@ -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(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment