summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/coinSelection.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/util/coinSelection.ts')
-rw-r--r--packages/taler-wallet-core/src/util/coinSelection.ts3
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[] = [];