File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,6 @@ contract Pack is
9999 bytes32 _transferRole = keccak256 ("TRANSFER_ROLE " );
100100 bytes32 _minterRole = keccak256 ("MINTER_ROLE " );
101101 bytes32 _assetRole = keccak256 ("ASSET_ROLE " );
102- // Initialize inherited contracts, most base-like -> most derived.
103- __ReentrancyGuard_init ();
104102
105103 /** note: The immutable state-variable `forwarder` is an EOA-only forwarder,
106104 * which guards against automated attacks.
@@ -265,7 +263,7 @@ contract Pack is
265263 }
266264
267265 /// @notice Lets a pack owner open packs and receive the packs' reward units.
268- function openPack (uint256 _packId , uint256 _amountToOpen ) external nonReentrant returns (Token[] memory ) {
266+ function openPack (uint256 _packId , uint256 _amountToOpen ) external returns (Token[] memory ) {
269267 address opener = _msgSender ();
270268
271269 require (isTrustedForwarder (msg .sender ) || opener == tx .origin , "!EOA " );
You can’t perform that action at this time.
0 commit comments