diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-09 08:33:41 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-09 08:33:41 -0300 |
commit | 14f3d1e06dda003d457f2b3531e197011a284244 (patch) | |
tree | ede108e65dba6188b1a7af8d16bd95b957a4c858 /packages/taler-wallet-core/src/operations | |
parent | 417c07f3f4866918e1aaa6d42b7d5ec0ca59dd51 (diff) | |
download | wallet-core-14f3d1e06dda003d457f2b3531e197011a284244.tar.xz |
wallet-core pretty
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
-rw-r--r-- | packages/taler-wallet-core/src/operations/backup/import.ts | 4 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/operations/common.ts | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/import.ts b/packages/taler-wallet-core/src/operations/backup/import.ts index 805b0c6d3..c7afaea8e 100644 --- a/packages/taler-wallet-core/src/operations/backup/import.ts +++ b/packages/taler-wallet-core/src/operations/backup/import.ts @@ -778,7 +778,9 @@ export async function importBackup( timestampFinished: backupRefreshGroup.timestamp_finish, timestampCreated: backupRefreshGroup.timestamp_created, refreshGroupId: backupRefreshGroup.refresh_group_id, - currency: Amounts.currencyOf(backupRefreshGroup.old_coins[0].input_amount), + currency: Amounts.currencyOf( + backupRefreshGroup.old_coins[0].input_amount, + ), reason, lastErrorPerCoin: {}, oldCoinPubs: backupRefreshGroup.old_coins.map((x) => x.coin_pub), diff --git a/packages/taler-wallet-core/src/operations/common.ts b/packages/taler-wallet-core/src/operations/common.ts index cb22105e1..96009eb0b 100644 --- a/packages/taler-wallet-core/src/operations/common.ts +++ b/packages/taler-wallet-core/src/operations/common.ts @@ -175,7 +175,7 @@ export async function spendCoins( await tx.coins.put(coin); await tx.coinAvailability.put(coinAvailability); } - + await ws.refreshOps.createRefreshGroup( ws, tx, |