diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-23 19:24:00 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-23 19:24:00 +0530 |
commit | 56ece296e0e13de3c796a4ac317c6ce9e4fd7c28 (patch) | |
tree | c5d009987c5937ab1ecf17985222d1edc80323ab /src/wallet.ts | |
parent | 80433b939962815ad8807b0d6e957d66dbd0e306 (diff) | |
download | wallet-core-56ece296e0e13de3c796a4ac317c6ce9e4fd7c28.tar.xz |
implement common wallet-core API handler
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index 099707b0f..c47acbace 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -195,7 +195,7 @@ export class Wallet { pending: PendingOperationInfo, forceNow = false, ): Promise<void> { - console.log("running pending", pending); + logger.trace(`running pending ${JSON.stringify(pending, undefined, 2)}`); switch (pending.type) { case PendingOperationType.Bug: // Nothing to do, will just be displayed to the user @@ -552,15 +552,6 @@ export class Wallet { return await this.db.get(Stores.exchanges, exchangeBaseUrl); } - /** - * Retrive the full event history for this wallet. - */ - async getHistory( - historyQuery?: any[], - ): Promise<{ history: any[] }> { - return { history: [] }; - } - async getPendingOperations({ onlyDue = false } = {}): Promise< PendingOperationsResponse > { |