Skip to content

Commit 49f6f40

Browse files
authored
Merge pull request #15 from fetchoracle/disable-initializers
disable initializers in the constructor
2 parents 6a5b510 + 0677e51 commit 49f6f40

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contracts/Autopay.sol

+5
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ contract Autopay is UsingFetchUpgradeReady, Initializable, OwnableUpgradeable, U
9595
address _reporter
9696
);
9797

98+
/// @custom:oz-upgrades-unsafe-allow constructor
99+
constructor() {
100+
_disableInitializers();
101+
}
102+
98103
function initialize(address payable _fetch, address _queryDataStorage) public initializer {
99104
__Ownable_init();
100105
setFetchAddress(_fetch);

0 commit comments

Comments
 (0)