mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-04 17:53:28 +00:00
Fix
This commit is contained in:
parent
8e6407b75f
commit
89484c8e4b
3
index.js
3
index.js
@ -23,12 +23,13 @@ app.get('/address/:address', function(req, res, next){
|
||||
eth.sendTransaction({
|
||||
from: address,
|
||||
to: req.params.address,
|
||||
gas: 21500,
|
||||
gas: 100000,
|
||||
value: (parseFloat(process.env.AMOUNT) || 1.5) * 1e18,
|
||||
data: '0xde5f72fd', // sha3('faucet()')
|
||||
nonce,
|
||||
}, (err, txID) => {
|
||||
if (err) {
|
||||
nonce -= 1;
|
||||
console.log('Request failed', err)
|
||||
return res.status(500).json(err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user