diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-23 17:38:10 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-23 17:38:10 +0530 |
commit | 60891b502ad94438024e022ad7e30ab63692c163 (patch) | |
tree | 1792db806f716c6af348d797a3d9c15e5219c268 /src/wallet.ts | |
parent | d88829cfa8dc7bf2967fb494af0290e068466828 (diff) | |
download | wallet-core-60891b502ad94438024e022ad7e30ab63692c163.tar.xz |
sunset history API (we have the transaction list now)
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index 60ed695fd..099707b0f 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -93,7 +93,6 @@ import { InternalWalletState } from "./operations/state"; import { createReserve } from "./operations/reserves"; import { processRefreshGroup, createRefreshGroup } from "./operations/refresh"; import { processWithdrawGroup } from "./operations/withdraw"; -import { getHistory } from "./operations/history"; import { getPendingOperations } from "./operations/pending"; import { getBalances } from "./operations/balance"; import { acceptTip, getTipStatus, processTip } from "./operations/tip"; @@ -106,7 +105,6 @@ import { PendingOperationType, } from "./types/pending"; import { WalletNotification, NotificationType } from "./types/notifications"; -import { HistoryQuery, HistoryEvent } from "./types/history"; import { processPurchaseQueryRefund, applyRefund } from "./operations/refund"; import { durationMin, Duration } from "./util/time"; import { processRecoupGroup } from "./operations/recoup"; @@ -558,9 +556,9 @@ export class Wallet { * Retrive the full event history for this wallet. */ async getHistory( - historyQuery?: HistoryQuery, - ): Promise<{ history: HistoryEvent[] }> { - return getHistory(this.ws, historyQuery); + historyQuery?: any[], + ): Promise<{ history: any[] }> { + return { history: [] }; } async getPendingOperations({ onlyDue = false } = {}): Promise< |