Skip to content

Commit

Permalink
Remove note about enabling self-delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Dec 27, 2021
1 parent 1ffcb10 commit a0a8bbb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions contracts/token/ERC20/extensions/ERC20Votes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import "../../../utils/cryptography/ECDSA.sol";
*
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
* Enabling self-delegation can easily be done by overriding the {delegates} function. Keep in mind however that this
* will significantly increase the base gas cost of transfers.
*
* _Available since v4.2._
*/
Expand Down
2 changes: 0 additions & 2 deletions contracts/token/ERC20/extensions/ERC20VotesComp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import "./ERC20Votes.sol";
*
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
* Enabling self-delegation can easily be done by overriding the {delegates} function. Keep in mind however that this
* will significantly increase the base gas cost of transfers.
*
* _Available since v4.2._
*/
Expand Down

0 comments on commit a0a8bbb

Please sign in to comment.