diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-28 23:17:12 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-28 23:17:12 +0530 |
commit | 732e764b376dff6b0262b869b29dbdee0c455a0e (patch) | |
tree | d1bcb7ed2257941251aec03346de321ec895deb4 /src/operations/state.ts | |
parent | 43655adff0f8f1db082e1f0c18f1271a29ab8905 (diff) | |
download | wallet-core-732e764b376dff6b0262b869b29dbdee0c455a0e.tar.xz |
new balances API, remove defunct 'return funds to own account' implementation
Diffstat (limited to 'src/operations/state.ts')
-rw-r--r-- | src/operations/state.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/state.ts b/src/operations/state.ts index 97d591244..cfec85d0f 100644 --- a/src/operations/state.ts +++ b/src/operations/state.ts @@ -15,7 +15,7 @@ */ import { HttpRequestLibrary } from "../util/http"; -import { NextUrlResult, WalletBalance } from "../types/walletTypes"; +import { NextUrlResult, BalancesResponse } from "../types/walletTypes"; import { CryptoApi, CryptoWorkerFactory } from "../crypto/workers/cryptoApi"; import { AsyncOpMemoMap, AsyncOpMemoSingle } from "../util/asyncMemo"; import { Logger } from "../util/logging"; @@ -34,7 +34,7 @@ export class InternalWalletState { memoGetPending: AsyncOpMemoSingle< PendingOperationsResponse > = new AsyncOpMemoSingle(); - memoGetBalance: AsyncOpMemoSingle<WalletBalance> = new AsyncOpMemoSingle(); + memoGetBalance: AsyncOpMemoSingle<BalancesResponse> = new AsyncOpMemoSingle(); memoProcessRefresh: AsyncOpMemoMap<void> = new AsyncOpMemoMap(); memoProcessRecoup: AsyncOpMemoMap<void> = new AsyncOpMemoMap(); cryptoApi: CryptoApi; |