diff options
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; |