aboutsummaryrefslogtreecommitdiffstats
path: root/lib/contract.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-16 22:49:36 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-16 22:49:36 +0800
commit0172939490f47f869b39b00d3f5f228b226ab170 (patch)
tree6f1f9d64248291d3e22feb309265fa826ccce485 /lib/contract.js
parent2c36d5ff457952c557b467e580514b08126d7dd7 (diff)
downloadgo-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.gz
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.bz2
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.lz
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.xz
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.zst
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.zip
fixed #28 and other small node.js issues
Diffstat (limited to 'lib/contract.js')
-rw-r--r--lib/contract.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/contract.js b/lib/contract.js
index 52ce08705..744fc88a4 100644
--- a/lib/contract.js
+++ b/lib/contract.js
@@ -20,11 +20,7 @@
* @date 2014
*/
-// TODO: is these line is supposed to be here?
-if (process.env.NODE_ENV !== 'build') {
- var web3 = require('./web3'); // jshint ignore:line
-}
-
+var web3 = require('./web3'); // jshint ignore:line
var abi = require('./abi');
/// method signature length in bytes