diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index 57bd49d23..a5a8653c6 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -24,7 +24,6 @@ import { codecForTalerConfigResponse, codecForWithdrawOperationStatusResponse, codecForWithdrawResponse, - compare, durationFromSpec, ExchangeListItem, getDurationRemaining, @@ -42,6 +41,7 @@ import { WithdrawUriInfoResponse, VersionMatchResult, DenomKeyType, + LibtoolVersion, } from "@gnu-taler/taler-util"; import { CoinRecord, @@ -285,7 +285,7 @@ export async function getBankWithdrawalInfo( codecForTalerConfigResponse(), ); - const versionRes = compare( + const versionRes = LibtoolVersion.compare( WALLET_BANK_INTEGRATION_PROTOCOL_VERSION, config.version, ); @@ -985,7 +985,7 @@ export async function getExchangeWithdrawalInfo( let versionMatch; if (exchangeDetails.protocolVersion) { - versionMatch = compare( + versionMatch = LibtoolVersion.compare( WALLET_EXCHANGE_PROTOCOL_VERSION, exchangeDetails.protocolVersion, ); |