From 09812897458192d3014fcf9b75c276d4abc7ee99 Mon Sep 17 00:00:00 2001 From: Sebastian Gerske Date: Tue, 27 Nov 2018 12:27:15 +0100 Subject: [PATCH] changed formatting --- src/ocean/Account.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ocean/Account.ts b/src/ocean/Account.ts index ccafbf7..f85dcf1 100644 --- a/src/ocean/Account.ts +++ b/src/ocean/Account.ts @@ -14,7 +14,9 @@ export default class Account extends OceanBase { public async getEtherBalance(): Promise { // Logger.log("getting balance for", account); - return Web3Provider.getWeb3().eth + return Web3Provider + .getWeb3() + .eth .getBalance(this.id, "latest") .then((balance: string): number => { // Logger.log("balance", balance); @@ -35,7 +37,9 @@ export default class Account extends OceanBase { } public async requestTokens(amount: number): Promise { - await (await Keeper.getInstance()).market.requestTokens(amount, this.id) + await (await Keeper.getInstance()) + .market + .requestTokens(amount, this.id) return amount }