diff options
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/operations/transactions.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index d93396ca5..74bc20320 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -770,9 +770,7 @@ function buildTransactionForRefresh( txState: computeRefreshTransactionState(refreshGroupRecord), txActions: computeRefreshTransactionActions(refreshGroupRecord), refreshReason: refreshGroupRecord.reason, - amountEffective: Amounts.stringify( - Amounts.zeroOfCurrency(refreshGroupRecord.currency), - ), + amountEffective: Amounts.stringify(Amounts.sub(outputAmount, inputAmount).amount), amountRaw: Amounts.stringify( Amounts.zeroOfCurrency(refreshGroupRecord.currency), ), |