diff options
author | Florian Dold <florian@dold.me> | 2022-09-21 21:13:31 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-09-21 22:50:42 +0200 |
commit | a398959670d56f5ecd3ef58abc85f14c55c8a427 (patch) | |
tree | 14980b3e4e3593ede98df212900b445f6b689f71 /packages/taler-wallet-core/src/operations | |
parent | 7d6bcd42ea9efced6200cf94924aa38bed2dbb02 (diff) | |
download | wallet-core-a398959670d56f5ecd3ef58abc85f14c55c8a427.tar.xz |
wallet-core: use more numeric fields
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
5 files changed, 11 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 3a92273df..9997dd09d 100644 --- a/packages/taler-wallet-core/src/operations/backup/import.ts +++ b/packages/taler-wallet-core/src/operations/backup/import.ts @@ -285,6 +285,10 @@ export async function importCoin( coinSource, // FIXME! maxAge: AgeRestriction.AGE_UNRESTRICTED, + // FIXME! + ageCommitmentProof: undefined, + // FIXME! + allocation: undefined, }; if (coinRecord.status === CoinStatus.Fresh) { await makeCoinAvailable(ws, tx, coinRecord); @@ -655,6 +659,8 @@ export async function importBackup( repurchaseProposalId: backupProposal.repurchase_proposal_id, download, proposalStatus, + // FIXME! + downloadSessionId: undefined, }); } } diff --git a/packages/taler-wallet-core/src/operations/pending.ts b/packages/taler-wallet-core/src/operations/pending.ts index 18e8ec83b..0dcd09e25 100644 --- a/packages/taler-wallet-core/src/operations/pending.ts +++ b/packages/taler-wallet-core/src/operations/pending.ts @@ -28,8 +28,6 @@ import { BackupProviderStateTag, RefreshCoinStatus, OperationStatus, - WithdrawalGroupRecord, - WithdrawalGroupStatus, OperationStatusRange, } from "../db.js"; import { diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts index 55070618f..9fe2e6a8f 100644 --- a/packages/taler-wallet-core/src/operations/refresh.ts +++ b/packages/taler-wallet-core/src/operations/refresh.ts @@ -682,6 +682,7 @@ async function refreshReveal( coinEvHash: pc.coinEvHash, maxAge: pc.maxAge, ageCommitmentProof: pc.ageCommitmentProof, + allocation: undefined, }; coins.push(coin); diff --git a/packages/taler-wallet-core/src/operations/tip.ts b/packages/taler-wallet-core/src/operations/tip.ts index a0fd8d328..bd5ff51e7 100644 --- a/packages/taler-wallet-core/src/operations/tip.ts +++ b/packages/taler-wallet-core/src/operations/tip.ts @@ -320,6 +320,7 @@ export async function processTip( coinEvHash: planchet.coinEvHash, maxAge: AgeRestriction.AGE_UNRESTRICTED, ageCommitmentProof: planchet.ageCommitmentProof, + allocation: undefined, }); } diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index ce910363f..cedb62361 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -834,6 +834,7 @@ async function processPlanchetVerifyAndStoreCoin( }, maxAge: planchet.maxAge, ageCommitmentProof: planchet.ageCommitmentProof, + allocation: undefined, }; const planchetCoinPub = planchet.coinPub; @@ -1832,6 +1833,8 @@ export async function acceptWithdrawalFromUri( exchangePaytoUri, talerWithdrawUri: req.talerWithdrawUri, confirmUrl: withdrawInfo.confirmTransferUrl, + timestampBankConfirmed: undefined, + timestampReserveInfoPosted: undefined, }, }, restrictAge: req.restrictAge, |