diff options
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 6 |
1 files changed, 1 insertions, 5 deletions
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<void> { - return payback(this.ws, coinPub); - } - async getPaybackReserves(): Promise<ReserveRecord[]> { return await this.db.iter(Stores.reserves).filter(r => r.hasPayback); } |