aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/refresh.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-31 12:27:05 -0300
committerSebastian <sebasjm@gmail.com>2023-03-31 12:27:17 -0300
commitb0cc65e17f2348f46ae1c9b88b69abae11266899 (patch)
tree41a8b4a14c4fe99eea8e285d43b01f972ea7226b /packages/taler-wallet-core/src/operations/refresh.ts
parent7ebcb30b9f9a573a04dc19a99df739aefb677c15 (diff)
downloadwallet-core-b0cc65e17f2348f46ae1c9b88b69abae11266899.tar.xz
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
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/refresh.ts6
1 files changed, 2 insertions, 4 deletions
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");