taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 1b2f3f4d078e3afb76d2efba2b2ce1d16d6b2d86
parent 4521b2a52e2c930de8c79716bf843a59f3721515
Author: Florian Dold <dold@taler.net>
Date:   Wed, 22 Jul 2026 00:30:49 +0200

wallet: await the record deletion for a peer pull debit

Without the await the database transaction could commit before the
delete and the metadata update were applied.  The other peer payment
transactions already await it.

Diffstat:
Mpackages/taler-wallet-core/src/pay-peer-pull-debit.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/pay-peer-pull-debit.ts b/packages/taler-wallet-core/src/pay-peer-pull-debit.ts @@ -235,7 +235,7 @@ export class PeerPullDebitTransactionContext implements TransactionContext { if (!rec) { return; } - h.update(undefined); + await h.update(undefined); } async userSuspendTransaction(): Promise<void> {