diff options
author | Florian Dold <florian@dold.me> | 2023-12-13 08:52:17 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-12-13 08:52:17 +0100 |
commit | df67d5dbb205665b57c8f860d79be16c94ba5a68 (patch) | |
tree | e734dedc598eef18eb98716c579df742c1177ecd /packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts | |
parent | 80c61a93e6c33d771cec95a9acfde43ce7148935 (diff) | |
download | wallet-core-df67d5dbb205665b57c8f860d79be16c94ba5a68.tar.gz wallet-core-df67d5dbb205665b57c8f860d79be16c94ba5a68.tar.bz2 wallet-core-df67d5dbb205665b57c8f860d79be16c94ba5a68.zip |
wallet-core: add hint about responsible transaction ID in balance change notification
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts b/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts index 1174ccc8e..78263c4c3 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts @@ -234,7 +234,10 @@ export async function preparePeerPushCredit( notifyTransition(ws, transactionId, transitionInfo); - ws.notify({ type: NotificationType.BalanceChange }); + ws.notify({ + type: NotificationType.BalanceChange, + hintTransactionId: transactionId, + }); return { amount: purseStatus.balance, |