diff --git a/wallet/wallet-app/src/main/kotlin/co/nilin/opex/wallet/app/service/UserRegistrationService.kt b/wallet/wallet-app/src/main/kotlin/co/nilin/opex/wallet/app/service/UserRegistrationService.kt index 8cde51fc2..4ee4c420e 100644 --- a/wallet/wallet-app/src/main/kotlin/co/nilin/opex/wallet/app/service/UserRegistrationService.kt +++ b/wallet/wallet-app/src/main/kotlin/co/nilin/opex/wallet/app/service/UserRegistrationService.kt @@ -28,7 +28,7 @@ class UserRegistrationService( val owner = walletOwnerManager.createWalletOwner(event.uuid, "${event.firstName} ${event.lastName}", "1") - val btcSymbol = currencyService.getCurrency("btc") ?: throw OpexException(OpexError.CurrencyNotFound) + val btcSymbol = currencyService.getCurrency("tbtc") ?: throw OpexException(OpexError.CurrencyNotFound) //TODO REMOVE LATER walletManager.createWallet( owner, @@ -45,4 +45,4 @@ class UserRegistrationService( "main" ) } -} \ No newline at end of file +} diff --git a/wallet/wallet-app/src/main/resources/application.yml b/wallet/wallet-app/src/main/resources/application.yml index 9275eaea7..6874669f9 100644 --- a/wallet/wallet-app/src/main/resources/application.yml +++ b/wallet/wallet-app/src/main/resources/application.yml @@ -45,7 +45,7 @@ spring: import: vault://secret/${spring.application.name} app: gift: - symbol: usdt + symbol: tusdt amount: 1000 auth: cert-url: lb://opex-auth/auth/realms/opex/protocol/openid-connect/certs