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/wallet.ts | |
parent | 43655adff0f8f1db082e1f0c18f1271a29ab8905 (diff) |
new balances API, remove defunct 'return funds to own account' implementation
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index 2abd6c0c8..e8ce97190 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -60,7 +60,6 @@ import { ReturnCoinsRequest, SenderWireInfos, TipStatus, - WalletBalance, PreparePayResult, AcceptWithdrawalResponse, PurchaseDetails, @@ -70,6 +69,7 @@ import { ManualWithdrawalDetails, GetExchangeTosResult, AcceptManualWithdrawalResult, + BalancesResponse, } from "./types/walletTypes"; import { Logger } from "./util/logging"; @@ -515,7 +515,7 @@ export class Wallet { /** * Get detailed balance information, sliced by exchange and by currency. */ - async getBalances(): Promise<WalletBalance> { + async getBalances(): Promise<BalancesResponse> { return this.ws.memoGetBalance.memo(() => getBalances(this.ws)); } |