From b0cc65e17f2348f46ae1c9b88b69abae11266899 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 31 Mar 2023 12:27:05 -0300 Subject: move coin selection function to coinSelection.ts and added a test placeholder, and some fixes: * selectCandidates was not save wire fee * selectCandidates show check wire fee time range --- packages/taler-wallet-core/src/operations/refresh.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/refresh.ts') diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts index 477a00503..70f0579c0 100644 --- a/packages/taler-wallet-core/src/operations/refresh.ts +++ b/packages/taler-wallet-core/src/operations/refresh.ts @@ -85,10 +85,8 @@ import { } from "../util/retries.js"; import { makeCoinAvailable } from "./common.js"; import { updateExchangeFromUrl } from "./exchanges.js"; -import { - isWithdrawableDenom, - selectWithdrawalDenominations, -} from "./withdraw.js"; +import { selectWithdrawalDenominations } from "../util/coinSelection.js"; +import { isWithdrawableDenom } from "../index.js"; const logger = new Logger("refresh.ts"); -- cgit v1.2.3