diff options
author | Florian Dold <florian@dold.me> | 2022-11-01 17:52:51 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-11-01 17:52:51 +0100 |
commit | aab3f917c42c9c38b0d13b69380075e5a0505720 (patch) | |
tree | ca150783ed6d0dccdb0bbfcb9a20c0285269f237 /packages/taler-wallet-cli/src/harness | |
parent | 504d9f09b433cec44b7992b8d8d7255760d86aa4 (diff) | |
download | wallet-core-aab3f917c42c9c38b0d13b69380075e5a0505720.tar.xz |
-harness fixes for kyc
Diffstat (limited to 'packages/taler-wallet-cli/src/harness')
-rw-r--r-- | packages/taler-wallet-cli/src/harness/harness.ts | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/packages/taler-wallet-cli/src/harness/harness.ts b/packages/taler-wallet-cli/src/harness/harness.ts index 26ced4334..6f722dc8d 100644 --- a/packages/taler-wallet-cli/src/harness/harness.ts +++ b/packages/taler-wallet-cli/src/harness/harness.ts @@ -486,7 +486,7 @@ class BankServiceBase { protected globalTestState: GlobalTestState, protected bankConfig: BankConfig, protected configFile: string, - ) { } + ) {} } /** @@ -780,7 +780,8 @@ class LibEuFinBankService extends BankServiceBase implements BankServiceHandle { */ export class FakebankService extends BankServiceBase - implements BankServiceHandle { + implements BankServiceHandle +{ proc: ProcessWrapper | undefined; http = new NodeHttpLib(); @@ -1131,7 +1132,7 @@ export class ExchangeService implements ExchangeServiceInterface { private exchangeConfig: ExchangeConfig, private configFilename: string, private keyPair: EddsaKeyPair, - ) { } + ) {} get name() { return this.exchangeConfig.name; @@ -1228,11 +1229,14 @@ export class ExchangeService implements ExchangeServiceInterface { "-c", this.configFilename, "wire-fee", + // Year `${i}`, + // Wire method accTargetType, + // Wire fee `${this.exchangeConfig.currency}:0.01`, - `${this.exchangeConfig.currency}:0.01`, - `${this.exchangeConfig.currency}:0.01`, + // Closing fee + `${this.exchangeConfig.currency}:0.01`, "upload", ], ); @@ -1251,16 +1255,12 @@ export class ExchangeService implements ExchangeServiceInterface { "now", // history fee `${this.exchangeConfig.currency}:0.01`, - // kyc fee - `${this.exchangeConfig.currency}:0.01`, // account fee `${this.exchangeConfig.currency}:0.01`, // purse fee `${this.exchangeConfig.currency}:0.00`, // purse timeout "1h", - // kyc timeout - "1h", // history expiration "1year", // free purses per account @@ -1384,7 +1384,7 @@ export class MerchantApiClient { constructor( private baseUrl: string, public readonly auth: MerchantAuthConfiguration, - ) { } + ) {} async changeAuth(auth: MerchantAuthConfiguration): Promise<void> { const url = new URL("private/auth", this.baseUrl); @@ -1577,7 +1577,7 @@ export class MerchantService implements MerchantServiceInterface { private globalState: GlobalTestState, private merchantConfig: MerchantConfig, private configFilename: string, - ) { } + ) {} private currentTimetravel: Duration | undefined; @@ -1899,8 +1899,10 @@ export class WalletCli { const resp = await sh( self.globalTestState, `wallet-${self.name}`, - `taler-wallet-cli ${self.timetravelArg ?? "" - } ${cryptoWorkerArg} --no-throttle -LTRACE --skip-defaults --wallet-db '${self.dbfile + `taler-wallet-cli ${ + self.timetravelArg ?? "" + } ${cryptoWorkerArg} --no-throttle -LTRACE --skip-defaults --wallet-db '${ + self.dbfile }' api '${op}' ${shellWrap(JSON.stringify(payload))}`, ); logger.info("--- wallet core response ---"); |