From de2fbb7fc8951659c01b39369f6a4d1e3f5b35ef Mon Sep 17 00:00:00 2001 From: Danial Date: Wed, 7 Aug 2024 16:08:50 +0900 Subject: [PATCH] Update test codes --- packages/client-test/scripts/3-shop/createId.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client-test/scripts/3-shop/createId.ts b/packages/client-test/scripts/3-shop/createId.ts index c71bf8b..0f47cfa 100644 --- a/packages/client-test/scripts/3-shop/createId.ts +++ b/packages/client-test/scripts/3-shop/createId.ts @@ -7,11 +7,11 @@ async function main() { let shopId = ""; if (Helper.NETWORK === "acc_mainnet") { - ContractUtils.getShopId(wallet.address, LoyaltyNetworkID.ACC_MAINNET); + shopId = ContractUtils.getShopId(wallet.address, LoyaltyNetworkID.ACC_MAINNET); } else if (Helper.NETWORK === "acc_testnet") { - ContractUtils.getShopId(wallet.address, LoyaltyNetworkID.ACC_TESTNET); + shopId = ContractUtils.getShopId(wallet.address, LoyaltyNetworkID.ACC_TESTNET); } else { - ContractUtils.getShopId(wallet.address, LoyaltyNetworkID.ACC_TESTNET); + shopId = ContractUtils.getShopId(wallet.address, LoyaltyNetworkID.ACC_TESTNET); } console.log("처리결과입니다.");