diff --git a/packages/relay/src/routers/StorePurchaseRouter.ts b/packages/relay/src/routers/StorePurchaseRouter.ts index 6ad7e974..7275619e 100644 --- a/packages/relay/src/routers/StorePurchaseRouter.ts +++ b/packages/relay/src/routers/StorePurchaseRouter.ts @@ -160,16 +160,11 @@ export class StorePurchaseRouter { shopProvidedAmount: BigNumber.from(0), }; - let loyaltyPoint: BigNumber; - if (purchaseData.currency === "krw") { - loyaltyPoint = loyaltyValue; - } else { - loyaltyPoint = await this.contractManager.sideCurrencyRateContract.convertCurrency( - loyaltyValue, - purchaseData.currency, - "point" - ); - } + const loyaltyPoint = await this.contractManager.sideCurrencyRateContract.convertCurrency( + loyaltyValue, + purchaseData.currency, + "point" + ); if (purchaseData.account === AddressZero && phone.toLowerCase() !== PHONE_NULL) { purchaseData.account = await this.contractManager.sidePhoneLinkerContract.toAddress(phone); }