diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/refresh.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts index e5bc3277d..c58f03e05 100644 --- a/packages/taler-wallet-core/src/operations/refresh.ts +++ b/packages/taler-wallet-core/src/operations/refresh.ts @@ -295,7 +295,10 @@ async function provideRefreshSession( const newTxState = computeRefreshTransactionState(rg); return { oldTxState, newTxState }; }); - ws.notify({ type: NotificationType.BalanceChange }); + ws.notify({ + type: NotificationType.BalanceChange, + hintTransactionId: transactionId, + }); notifyTransition(ws, transactionId, transitionInfo); return; } @@ -509,7 +512,10 @@ async function refreshMelt( newTxState, }; }); - ws.notify({ type: NotificationType.BalanceChange }); + ws.notify({ + type: NotificationType.BalanceChange, + hintTransactionId: transactionId, + }); notifyTransition(ws, transactionId, transitionInfo); return; } |