From 8e6407b75fe72df891b331603359c0fa968f718e Mon Sep 17 00:00:00 2001 From: Jorge Izquierdo Date: Tue, 7 Mar 2017 13:03:29 +0100 Subject: [PATCH] env amount --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9c7c12c..f812c20 100644 --- a/index.js +++ b/index.js @@ -24,7 +24,7 @@ app.get('/address/:address', function(req, res, next){ from: address, to: req.params.address, gas: 21500, - value: 1e16, + value: (parseFloat(process.env.AMOUNT) || 1.5) * 1e18, data: '0xde5f72fd', // sha3('faucet()') nonce, }, (err, txID) => {