Skip to content
Snippets Groups Projects
Commit c57e6963 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Agregando gasPrice

parent f1e97700
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ function create
cleanup "$js"
cat > $js <<EOT
var mycontract = eth.contract($abi)
var transaction = mycontract.new( { from: eth.accounts[0], data: "0x${bin}", gas: 3000000 } )
var transaction = mycontract.new( { from: eth.accounts[0], data: "0x${bin}", gas: 3000000, gasPrice: 1000000000 } )
var rcpt
while ( !rcpt )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment