diff options
author | Florian Dold <florian@dold.me> | 2024-01-19 14:35:00 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-01-19 14:35:00 +0100 |
commit | 2b7fbbaaa561d2ff821bab432a6ad839af291660 (patch) | |
tree | 71a24375c3052670868fc17e46f0ee713759a48b /packages/taler-wallet-core/src/util/coinSelection.ts | |
parent | e9c6b105d18f142cf4d4b203e734513df1e5021c (diff) | |
download | wallet-core-2b7fbbaaa561d2ff821bab432a6ad839af291660.tar.gz wallet-core-2b7fbbaaa561d2ff821bab432a6ad839af291660.tar.bz2 wallet-core-2b7fbbaaa561d2ff821bab432a6ad839af291660.zip |
wip 7836dev/dold/bug-7836
Diffstat (limited to 'packages/taler-wallet-core/src/util/coinSelection.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/coinSelection.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/util/coinSelection.ts b/packages/taler-wallet-core/src/util/coinSelection.ts index 9b29cee26..d75450a64 100644 --- a/packages/taler-wallet-core/src/util/coinSelection.ts +++ b/packages/taler-wallet-core/src/util/coinSelection.ts @@ -60,6 +60,7 @@ import { getExchangeWireDetailsInTx, isWithdrawableDenom, WalletDbReadOnlyTransaction, + WalletDbReadOnlyTransactionArr, } from "../index.js"; import { InternalWalletState } from "../internal-wallet-state.js"; import { @@ -914,7 +915,7 @@ export interface PeerCoinSelectionRequest { */ async function selectPayPeerCandidatesForExchange( ws: InternalWalletState, - tx: WalletDbReadOnlyTransaction<"coinAvailability" | "denominations">, + tx: WalletDbReadOnlyTransactionArr<["coinAvailability", "denominations"]>, exchangeBaseUrl: string, ): Promise<AvailableDenom[]> { const denoms: AvailableDenom[] = []; |