Skip to content

Commit 8f872af

Browse files
gangovueco-jb
authored andcommitted
[no ci] more small fixes to err handling in shell
1 parent da924f3 commit 8f872af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/upgrade_mainnet.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ upgrade_stellar_contract() {
7474
local account="$2"
7575
local new_wasm_hash="$3"
7676

77-
if [[ -z "$pool_id" || -z "$account" || -z "$new_wasm_hash" ]]; then
78-
echo "Error: Missing required parameters (pool_id, account, new_wasm_hash)."
77+
if [[ -z "$contract_id" || -z "$account" || -z "$new_wasm_hash" ]]; then
78+
echo "Error: Missing required parameters (contract_id, account, new_wasm_hash)."
7979
return 1
8080
fi
8181

0 commit comments

Comments
 (0)