mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-18 08:26:26 +00:00
env amount
This commit is contained in:
parent
c5dd0e0d33
commit
8e6407b75f
2
index.js
2
index.js
@ -24,7 +24,7 @@ app.get('/address/:address', function(req, res, next){
|
|||||||
from: address,
|
from: address,
|
||||||
to: req.params.address,
|
to: req.params.address,
|
||||||
gas: 21500,
|
gas: 21500,
|
||||||
value: 1e16,
|
value: (parseFloat(process.env.AMOUNT) || 1.5) * 1e18,
|
||||||
data: '0xde5f72fd', // sha3('faucet()')
|
data: '0xde5f72fd', // sha3('faucet()')
|
||||||
nonce,
|
nonce,
|
||||||
}, (err, txID) => {
|
}, (err, txID) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user