summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-30 09:35:58 +0200
committerFlorian Dold <florian@dold.me>2023-05-30 09:35:58 +0200
commitd1dade44265ce515526cef90cb4651bb905b17ee (patch)
tree875bf17302f570189184b553ab18f8e08eceffa2 /packages/taler-wallet-core/src
parent0323067c0757262084e16a9bba9d58bcd773fc23 (diff)
downloadwallet-core-d1dade44265ce515526cef90cb4651bb905b17ee.tar.gz
wallet-core-d1dade44265ce515526cef90cb4651bb905b17ee.tar.bz2
wallet-core-d1dade44265ce515526cef90cb4651bb905b17ee.zip
-type error
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r--packages/taler-wallet-core/src/operations/backup/import.ts2
-rw-r--r--packages/taler-wallet-core/src/operations/withdraw.ts1
2 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/import.ts b/packages/taler-wallet-core/src/operations/backup/import.ts
index 6d78b2be0..5efdb78c1 100644
--- a/packages/taler-wallet-core/src/operations/backup/import.ts
+++ b/packages/taler-wallet-core/src/operations/backup/import.ts
@@ -56,6 +56,7 @@ import {
WithdrawalGroupStatus,
WithdrawalRecordType,
RefreshOperationStatus,
+ TipRecordStatus,
} from "../../db.js";
import { InternalWalletState } from "../../internal-wallet-state.js";
import { assertUnreachable } from "../../util/assertUnreachable.js";
@@ -834,6 +835,7 @@ export async function importBackup(
tipExpiration: backupTip.timestamp_expiration,
walletTipId: backupTip.wallet_tip_id,
denomSelUid: backupTip.selected_denoms_uid,
+ status: TipRecordStatus.Done, // FIXME!
});
}
}
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts
index 7636395bd..e08aa59a7 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -334,6 +334,7 @@ export async function abortWithdrawalTransaction(
}
return undefined;
});
+ ws.workAvailable.trigger();
notifyTransition(ws, transactionId, transitionInfo);
}