commit e10df554c9746971be0ec3f39a9cd98520066380
parent d223f963021eb1562d6d3be350d79c27d0499ec0
Author: Florian Dold <florian@dold.me>
Date: Tue, 20 Feb 2024 00:34:49 +0100
wallet-core: store perExchangeInfo for refreshes in DB
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git 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
@@ -1296,6 +1296,7 @@ export async function createRefreshGroup(
expectedOutputPerCoin: estimatedOutputPerCoin.map((x) =>
Amounts.stringify(x),
),
+ infoPerExchange: outInfo.perExchangeInfo,
timestampCreated: timestampPreciseToDb(TalerPreciseTimestamp.now()),
};