aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/web3-wrapper/src')
-rw-r--r--packages/web3-wrapper/src/index.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/web3-wrapper/src/index.ts b/packages/web3-wrapper/src/index.ts
index 9b37e5a0d..b823c5c15 100644
--- a/packages/web3-wrapper/src/index.ts
+++ b/packages/web3-wrapper/src/index.ts
@@ -74,12 +74,6 @@ export class Web3Wrapper {
balanceInWei = new BigNumber(balanceInWei);
return balanceInWei;
}
- public async getBalanceInEthAsync(owner: string): Promise<BigNumber> {
- const balanceInWei = await this.getBalanceInWeiAsync(owner);
- const balanceEthOldBigNumber = this.web3.fromWei(balanceInWei, 'ether');
- const balanceEth = new BigNumber(balanceEthOldBigNumber);
- return balanceEth;
- }
public async doesContractExistAtAddressAsync(address: string): Promise<boolean> {
const code = await promisify<string>(this.web3.eth.getCode)(address);
// Regex matches 0x0, 0x00, 0x in order to accommodate poorly implemented clients