env amount

This commit is contained in:
Jorge Izquierdo 2017-03-07 13:03:29 +01:00
parent c5dd0e0d33
commit 8e6407b75f
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {