Non-constructor initialization removed (#1403)
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4.
* updates
* fixes #1391
This commit is contained in:
@ -9,7 +9,11 @@ pragma solidity ^0.4.24;
|
||||
contract ReentrancyGuard {
|
||||
|
||||
/// @dev counter to allow mutex lock with only one SSTORE operation
|
||||
uint256 private _guardCounter = 1;
|
||||
uint256 private _guardCounter;
|
||||
|
||||
constructor() public {
|
||||
_guardCounter = 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev Prevents a contract from calling itself, directly or indirectly.
|
||||
|
||||
Reference in New Issue
Block a user