diff options
Diffstat (limited to 'src/walletCoreApiHandler.ts')
-rw-r--r-- | src/walletCoreApiHandler.ts | 3 |
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); |