|
@@ -73,8 +73,8 @@ abstract contract Initializable {
|
|
|
bool _initializing;
|
|
|
}
|
|
|
|
|
|
- // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1))
|
|
|
- bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0e;
|
|
|
+ // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
|
|
|
+ bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;
|
|
|
|
|
|
/**
|
|
|
* @dev The contract is already initialized.
|