diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index f9eeb02c0..79220089b 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -453,6 +453,9 @@ async function processPlanchetExchangeRequest( withdrawalGroup: WithdrawalGroupRecord, coinIdx: number, ): Promise<WithdrawResponse | undefined> { + logger.info( + `processing planchet exchange request ${withdrawalGroup.withdrawalGroupId}/${coinIdx}`, + ); const d = await ws.db .mktx((x) => ({ withdrawalGroups: x.withdrawalGroups, @@ -478,10 +481,12 @@ async function processPlanchetExchangeRequest( return; } - const denom = await tx.denominations.get([ + const denom = await ws.getDenomInfo( + ws, + tx, withdrawalGroup.exchangeBaseUrl, planchet.denomPubHash, - ]); + ); if (!denom) { logger.error("db inconsistent: denom for planchet not found"); |