From f28babdb8cf8cfa634d85e6091e348fd7b0e3d37 Mon Sep 17 00:00:00 2001 From: bitsnaps Date: Fri, 9 Mar 2018 12:23:52 +0100 Subject: [PATCH] typo on ths change `ths` to `this` --- src/local.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/local.js b/src/local.js index 2ac0119..1cf0c9a 100644 --- a/src/local.js +++ b/src/local.js @@ -71,7 +71,7 @@ class Local { switch(typeof(contract)) { case "object": if(contract.address) { - return this.web3.fromWei(ths.web3.eth.getBalance(contract.address), 'ether').toNumber(); + return this.web3.fromWei(this.web3.eth.getBalance(contract.address), 'ether').toNumber(); } else { return new Error("cannot call getEtherBalance on an object that does not have a property 'address'"); }