Skip to content

Commit dfdcc1b

Browse files
committed
Fix bug
1 parent a11178c commit dfdcc1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wallet/wallet-app/src/main/kotlin/co/nilin/opex/wallet/app/service/DepositService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class DepositService(
347347
): PaymentDepositResponse {
348348

349349
val currency = currencyService
350-
.fetchCurrency(FetchCurrency(symbol = request.currency.name))
350+
.fetchCurrency(FetchCurrency(symbol = request.currency))
351351
?: throw OpexError.CurrencyNotFound.exception()
352352

353353
val sourceOwner = walletOwnerManager

0 commit comments

Comments
 (0)