diff options
author | Sebastian <sebasjm@gmail.com> | 2024-08-05 10:41:53 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-08-05 10:42:07 -0300 |
commit | 50d183195c94d0995aafd60f0fa3766f5f5ba256 (patch) | |
tree | 60f81a3e79c578fbeaa8637a69ee6aa1e2d743c9 /packages/taler-wallet-core/src/pay-peer-push-debit.ts | |
parent | d65ff9a6c3c7478838ef1421dd32363495e99cba (diff) | |
download | wallet-core-50d183195c94d0995aafd60f0fa3766f5f5ba256.tar.xz |
scope info in tx details
Diffstat (limited to 'packages/taler-wallet-core/src/pay-peer-push-debit.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pay-peer-push-debit.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/pay-peer-push-debit.ts b/packages/taler-wallet-core/src/pay-peer-push-debit.ts index b30ff334d..4485976b9 100644 --- a/packages/taler-wallet-core/src/pay-peer-push-debit.ts +++ b/packages/taler-wallet-core/src/pay-peer-push-debit.ts @@ -93,6 +93,7 @@ import { notifyTransition, } from "./transactions.js"; import { WalletExecutionContext } from "./wallet.js"; +import { getScopeForAllExchanges } from "./exchanges.js"; const logger = new Logger("pay-peer-push-debit.ts"); @@ -167,6 +168,7 @@ export class PeerPushDebitTransactionContext implements TransactionContext { return { type: TransactionType.PeerPushDebit, txState, + scopes: await getScopeForAllExchanges(tx, [pushDebitRec.exchangeBaseUrl]), txActions: computePeerPushDebitTransactionActions(pushDebitRec), amountEffective: isUnsuccessfulTransaction(txState) ? Amounts.stringify(Amounts.zeroOfAmount(pushDebitRec.totalCost)) |