Skip to content

Commit 51ab5fd

Browse files
committed
update logic for checking deploy state
1 parent b71cb4b commit 51ab5fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

container-manager/src/libs/state.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,12 @@ function isContractDeployComplete(req) {
418418
}
419419

420420
if ("zero" in req) {
421-
const zero = findENVInFile("ZERO", filepath); //check name
421+
const zero = findENVInFile("ZERO_CONTRACT", filepath); //check name
422422
if (zero.length == 0) return false;
423423
}
424424

425425
if ("subswap" in req) {
426-
const subswap = findENVInFile("SUBSWAP", filepath); //check name
426+
const subswap = findENVInFile("_APP", filepath); //check name
427427
if (subswap.length == 0) return false;
428428
}
429429

0 commit comments

Comments
 (0)