From 6e2881fabf74a3c1da8e94dcbe3e68fce6080d9e Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 10 Mar 2020 14:47:46 +0530 Subject: cleanup --- src/wallet.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/wallet.ts') diff --git a/src/wallet.ts b/src/wallet.ts index 12bc2ccbb..23ac8490b 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -95,7 +95,7 @@ import { getHistory } from "./operations/history"; import { getPendingOperations } from "./operations/pending"; import { getBalances } from "./operations/balance"; import { acceptTip, getTipStatus, processTip } from "./operations/tip"; -import { payback } from "./operations/payback"; +import { recoup } from "./operations/recoup"; import { TimerGroup } from "./util/timer"; import { AsyncCondition } from "./util/promiseUtils"; import { AsyncOpMemoSingle } from "./util/asyncMemo"; @@ -577,10 +577,6 @@ export class Wallet { return await this.db.iter(Stores.coins).toArray(); } - async payback(coinPub: string): Promise { - return payback(this.ws, coinPub); - } - async getPaybackReserves(): Promise { return await this.db.iter(Stores.reserves).filter(r => r.hasPayback); } -- cgit v1.2.3