Skip to content

Commit a0fa1b4

Browse files
Update script/libraries/LibInitializeGuard.sol
Co-authored-by: HuyHuynh <[email protected]>
1 parent 17310d9 commit a0fa1b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/libraries/LibInitializeGuard.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ library LibInitializeGuard {
255255
uint256 length = allFns.length;
256256

257257
for (uint256 i; i < length; ++i) {
258-
if (allFns[i].contains("initialize")) count++;
258+
if (allFns[i].startWith("initializeV")) count++;
259259
}
260260
}
261261

0 commit comments

Comments
 (0)