diff options
author | Florian Dold <florian@dold.me> | 2022-11-01 17:16:36 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-11-01 17:26:24 +0100 |
commit | 504d9f09b433cec44b7992b8d8d7255760d86aa4 (patch) | |
tree | 830833d9377be27910cda79d69f6a38e797a0739 /packages/taler-wallet-core/src/operations | |
parent | ab48d3df6ed738251ffdb8c028ceb0d981534137 (diff) | |
download | wallet-core-504d9f09b433cec44b7992b8d8d7255760d86aa4.tar.xz |
wallet-core: remove kyc and wad fee
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
3 files changed, 0 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/export.ts b/packages/taler-wallet-core/src/operations/backup/export.ts index 1b2a7f637..b344aa362 100644 --- a/packages/taler-wallet-core/src/operations/backup/export.ts +++ b/packages/taler-wallet-core/src/operations/backup/export.ts @@ -322,7 +322,6 @@ export async function exportBackup( wireFees.push({ wire_type: x, closing_fee: Amounts.stringify(f.closingFee), - wad_fee: Amounts.stringify(f.wadFee), end_stamp: f.endStamp, sig: f.sig, start_stamp: f.startStamp, @@ -363,7 +362,6 @@ export async function exportBackup( global_fees: ex.globalFees.map((x) => ({ accountFee: Amounts.stringify(x.accountFee), historyFee: Amounts.stringify(x.historyFee), - kycFee: Amounts.stringify(x.kycFee), purseFee: Amounts.stringify(x.purseFee), kycTimeout: x.kycTimeout, endDate: x.endDate, diff --git a/packages/taler-wallet-core/src/operations/backup/import.ts b/packages/taler-wallet-core/src/operations/backup/import.ts index ad3676ef8..187acc5d4 100644 --- a/packages/taler-wallet-core/src/operations/backup/import.ts +++ b/packages/taler-wallet-core/src/operations/backup/import.ts @@ -384,7 +384,6 @@ export async function importBackup( sig: fee.sig, startStamp: fee.start_stamp, wireFee: Amounts.parseOrThrow(fee.wire_fee), - wadFee: Amounts.parseOrThrow(fee.wad_fee), }); } let tosAccepted = undefined; @@ -414,7 +413,6 @@ export async function importBackup( globalFees: backupExchangeDetails.global_fees.map((x) => ({ accountFee: Amounts.parseOrThrow(x.accountFee), historyFee: Amounts.parseOrThrow(x.historyFee), - kycFee: Amounts.parseOrThrow(x.kycFee), purseFee: Amounts.parseOrThrow(x.purseFee), kycTimeout: x.kycTimeout, endDate: x.endDate, diff --git a/packages/taler-wallet-core/src/operations/exchanges.ts b/packages/taler-wallet-core/src/operations/exchanges.ts index 63e71c36c..8e68074d5 100644 --- a/packages/taler-wallet-core/src/operations/exchanges.ts +++ b/packages/taler-wallet-core/src/operations/exchanges.ts @@ -270,7 +270,6 @@ async function validateWireInfo( sig: x.sig, startStamp, wireFee: Amounts.parseOrThrow(x.wire_fee), - wadFee: Amounts.parseOrThrow(x.wad_fee), }; let isValid = false; if (ws.insecureTrustExchange) { @@ -323,7 +322,6 @@ async function validateGlobalFees( accountFee: Amounts.parseOrThrow(gf.account_fee), historyFee: Amounts.parseOrThrow(gf.history_fee), purseFee: Amounts.parseOrThrow(gf.purse_fee), - kycFee: Amounts.parseOrThrow(gf.kyc_fee), startDate: gf.start_date, endDate: gf.end_date, signature: gf.master_sig, |