summaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-10 14:47:46 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-10 14:47:46 +0530
commit6e2881fabf74a3c1da8e94dcbe3e68fce6080d9e (patch)
treed0f9a5a03260ce0db057c3d962ca35947dffa26d /src/wallet.ts
parent26d961ad633027f50ee402b9a7e7fa383c2b33c3 (diff)
downloadwallet-core-6e2881fabf74a3c1da8e94dcbe3e68fce6080d9e.tar.gz
wallet-core-6e2881fabf74a3c1da8e94dcbe3e68fce6080d9e.tar.bz2
wallet-core-6e2881fabf74a3c1da8e94dcbe3e68fce6080d9e.zip
cleanup
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts6
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);
}