aboutsummaryrefslogtreecommitdiff
path: root/src/walletCoreApiHandler.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-01 13:52:08 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-01 13:52:46 +0530
commitaa481e42675fb7c4dcbbeec0ba1c61e1953b9596 (patch)
treeb1283f27713b9ff8619773a96b775a263e4aea18 /src/walletCoreApiHandler.ts
parentb37c98346d407c749a5cd971f798428c42b248c3 (diff)
downloadwallet-core-aa481e42675fb7c4dcbbeec0ba1c61e1953b9596.tar.xz
use wallet's http lib for test balance withdrawal, remove redundant integration tests
Diffstat (limited to 'src/walletCoreApiHandler.ts')
-rw-r--r--src/walletCoreApiHandler.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/walletCoreApiHandler.ts b/src/walletCoreApiHandler.ts
index a16490d5a..7ab6a6284 100644
--- a/src/walletCoreApiHandler.ts
+++ b/src/walletCoreApiHandler.ts
@@ -21,7 +21,6 @@ import {
makeErrorDetails,
} from "./operations/errors";
import { TalerErrorCode } from "./TalerErrorCode";
-import { withdrawTestBalance } from "./headless/helpers";
import { codecForTransactionsRequest } from "./types/transactions";
import {
makeCodecForObject,
@@ -160,7 +159,7 @@ async function dispatchRequestInternal(
): Promise<Record<string, any>> {
switch (operation) {
case "withdrawTestkudos":
- await withdrawTestBalance(wallet);
+ await wallet.withdrawTestBalance();
return {};
case "getTransactions": {
const req = codecForTransactionsRequest().decode(payload);