diff options
author | Florian Dold <florian@dold.me> | 2024-04-23 12:49:42 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-04-23 12:49:42 +0200 |
commit | 666b767766ef299bd58655c55ece6d4a82c3e947 (patch) | |
tree | ad55f617626d96fb656ff7ab4ccb71b7931ee7b9 /packages/taler-harness | |
parent | 0308290a128d29792225d7b2f4d2e22cb5d42f72 (diff) | |
download | wallet-core-666b767766ef299bd58655c55ece6d4a82c3e947.tar.xz |
wallet-core: support for withdrawals with forced reserve key
Diffstat (limited to 'packages/taler-harness')
-rw-r--r-- | packages/taler-harness/src/bench1.ts | 4 | ||||
-rw-r--r-- | packages/taler-harness/src/bench3.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-harness/src/bench1.ts b/packages/taler-harness/src/bench1.ts index 216760260..d260ea731 100644 --- a/packages/taler-harness/src/bench1.ts +++ b/packages/taler-harness/src/bench1.ts @@ -74,7 +74,7 @@ export async function runBench1(configJson: any): Promise<void> { // my assumption is that the in-memory db file gets too large if (i % restartWallet == 0) { if (Object.keys(wallet).length !== 0) { - wallet.stop(); + await wallet.client.call(WalletApiOperation.Shutdown, {}); console.log("wallet DB stats", j2s(getDbStats!())); } @@ -127,7 +127,7 @@ export async function runBench1(configJson: any): Promise<void> { } } - wallet.stop(); + await wallet.client.call(WalletApiOperation.Shutdown, {}); console.log("wallet DB stats", j2s(getDbStats!())); } diff --git a/packages/taler-harness/src/bench3.ts b/packages/taler-harness/src/bench3.ts index a5bc094df..ddf763c5b 100644 --- a/packages/taler-harness/src/bench3.ts +++ b/packages/taler-harness/src/bench3.ts @@ -85,7 +85,7 @@ export async function runBench3(configJson: any): Promise<void> { // my assumption is that the in-memory db file gets too large if (i % restartWallet == 0) { if (Object.keys(wallet).length !== 0) { - wallet.stop(); + await wallet.client.call(WalletApiOperation.Shutdown, {}); console.log("wallet DB stats", j2s(getDbStats!())); } @@ -139,7 +139,7 @@ export async function runBench3(configJson: any): Promise<void> { } } - wallet.stop(); + await wallet.client.call(WalletApiOperation.Shutdown, {}); console.log("wallet DB stats", j2s(getDbStats!())); } |