diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/refresh.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts index 843f37c8e..14556f3c0 100644 --- a/packages/taler-wallet-core/src/operations/refresh.ts +++ b/packages/taler-wallet-core/src/operations/refresh.ts @@ -935,7 +935,7 @@ export async function calculateRefreshOutput( return { outputPerCoin: estimatedOutputPerCoin, - } + }; } async function applyRefresh( @@ -990,7 +990,11 @@ async function applyRefresh( if (!coin.spendAllocation) { coin.spendAllocation = { amount: Amounts.stringify(ocp.amount), - id: `txn:refresh:${refreshGroupId}`, + // id: `txn:refresh:${refreshGroupId}`, + id: constructTransactionIdentifier({ + tag: TransactionType.Refresh, + refreshGroupId, + }), }; } await tx.coins.put(coin); |