aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/reward.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-12-11 20:01:28 +0100
committerFlorian Dold <florian@dold.me>2023-12-12 15:42:34 +0100
commite31f18b8f129adb9cbe33158297a9cff56a7143e (patch)
treefc960e069a08ca1924a79c154f5ced26db709348 /packages/taler-wallet-core/src/operations/reward.ts
parent055645e17aa9424f299aa04f686de7574ab437c7 (diff)
downloadwallet-core-e31f18b8f129adb9cbe33158297a9cff56a7143e.tar.xz
wallet-core: towards better DD48 support
Diffstat (limited to 'packages/taler-wallet-core/src/operations/reward.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/reward.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/reward.ts b/packages/taler-wallet-core/src/operations/reward.ts
index 5d609f41d..90320d7cb 100644
--- a/packages/taler-wallet-core/src/operations/reward.ts
+++ b/packages/taler-wallet-core/src/operations/reward.ts
@@ -69,7 +69,7 @@ import {
TaskRunResult,
TaskRunResultType,
} from "./common.js";
-import { updateExchangeFromUrl } from "./exchanges.js";
+import { fetchFreshExchange } from "./exchanges.js";
import {
getCandidateWithdrawalDenoms,
getExchangeWithdrawalInfo,
@@ -175,7 +175,7 @@ export async function prepareTip(
const amount = Amounts.parseOrThrow(tipPickupStatus.reward_amount);
logger.trace("new tip, creating tip record");
- await updateExchangeFromUrl(ws, tipPickupStatus.exchange_url);
+ await fetchFreshExchange(ws, tipPickupStatus.exchange_url);
//FIXME: is this needed? withdrawDetails is not used
// * if the intention is to update the exchange information in the database