Skip to content

Commit

Permalink
Merge pull request #18 from pooltogether/fixes/0xrajeev-60
Browse files Browse the repository at this point in the history
fix(contract): init Reentrancy Guard
  • Loading branch information
PierrickGT committed Jul 5, 2021
2 parents 5abdc08 + e9a8de8 commit faa315e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/yield-source/ATokenYieldSource.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ contract ATokenYieldSource is ERC20Upgradeable, IProtocolYieldSource, AssetManag
transferOwnership(_owner);

__ERC20_init(_name,_symbol);
__ReentrancyGuard_init();

require(_decimals > 0, "ATokenYieldSource/decimals-gt-zero");
_setupDecimals(_decimals);

Expand Down

0 comments on commit faa315e

Please sign in to comment.