summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-02-20 00:34:49 +0100
committerFlorian Dold <florian@dold.me>2024-02-20 00:34:49 +0100
commite10df554c9746971be0ec3f39a9cd98520066380 (patch)
treef762c1f808f513ab7845ce4a7e83ddb78f115750
parentd223f963021eb1562d6d3be350d79c27d0499ec0 (diff)
downloadwallet-core-e10df554c9746971be0ec3f39a9cd98520066380.tar.gz
wallet-core-e10df554c9746971be0ec3f39a9cd98520066380.tar.bz2
wallet-core-e10df554c9746971be0ec3f39a9cd98520066380.zip
wallet-core: store perExchangeInfo for refreshes in DB
-rw-r--r--packages/taler-wallet-core/src/deposits.ts1
-rw-r--r--packages/taler-wallet-core/src/refresh.ts1
2 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts
index 906503430..dc3831595 100644
--- a/packages/taler-wallet-core/src/deposits.ts
+++ b/packages/taler-wallet-core/src/deposits.ts
@@ -294,7 +294,6 @@ export class DepositTransactionContext implements TransactionContext {
return undefined;
},
);
- // FIXME: Also cancel ongoing work (via cancellation token, once implemented)
ws.taskScheduler.stopShepherdTask(retryTag);
notifyTransition(ws, transactionId, transitionInfo);
}
diff --git a/packages/taler-wallet-core/src/refresh.ts b/packages/taler-wallet-core/src/refresh.ts
index 4c3bb493a..df0ab25f9 100644
--- a/packages/taler-wallet-core/src/refresh.ts
+++ b/packages/taler-wallet-core/src/refresh.ts
@@ -1296,6 +1296,7 @@ export async function createRefreshGroup(
expectedOutputPerCoin: estimatedOutputPerCoin.map((x) =>
Amounts.stringify(x),
),
+ infoPerExchange: outInfo.perExchangeInfo,
timestampCreated: timestampPreciseToDb(TalerPreciseTimestamp.now()),
};