diff options
Diffstat (limited to 'packages/taler-harness/src/bench3.ts')
-rw-r--r-- | packages/taler-harness/src/bench3.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-harness/src/bench3.ts b/packages/taler-harness/src/bench3.ts index bc345aa9e..c810f6804 100644 --- a/packages/taler-harness/src/bench3.ts +++ b/packages/taler-harness/src/bench3.ts @@ -18,6 +18,7 @@ * Imports. */ import { + AmountString, buildCodecForObject, codecForNumber, codecForString, @@ -108,7 +109,7 @@ export async function runBench3(configJson: any): Promise<void> { let start = Date.now(); await wallet.client.call(WalletApiOperation.WithdrawTestBalance, { - amount: b3conf.currency + ":" + withdrawAmount, + amount: b3conf.currency + ":" + withdrawAmount as AmountString, corebankApiBaseUrl: b3conf.bank, exchangeBaseUrl: b3conf.exchange, }); @@ -129,7 +130,7 @@ export async function runBench3(configJson: any): Promise<void> { let payto = b3conf.paytoTemplate.replace("${id}", merchID.toString()); await wallet.client.call(WalletApiOperation.CreateDepositGroup, { - amount: b3conf.currency + ":10", + amount: b3conf.currency + ":10" as AmountString, depositPaytoUri: payto, }); |