taler-typescript-core

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

commit ac27eec581d2dce1ab9d7ee6c9f1b96a6718ddf0
parent bbd2c3a8a204306b3cdfb485ffeba9d0e75e233c
Author: Florian Dold <florian@dold.me>
Date:   Wed,  3 Jun 2026 21:58:37 +0200

wallet cli: handle finalizing state after payment

Diffstat:
Mpackages/taler-wallet-cli/src/index.ts | 13++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts @@ -238,9 +238,16 @@ async function doHandlePayTransaction( console.log(`Waiting for transaction '${transactionId}' to finish`); await wallet.call(WalletApiOperation.TestingWaitTransactionState, { transactionId, - txState: { - major: TransactionMajorState.Done, - }, + txState: [ + { + major: TransactionMajorState.Done, + minor: "*", + }, + { + major: TransactionMajorState.Finalizing, + minor: "*", + }, + ], }); const tx = await wallet.call(WalletApiOperation.GetTransactionById, { transactionId,