From c57e6963a915e0a9cfc1cfea0ae7bdee5873b50f Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@nic.ar>
Date: Wed, 26 Jun 2019 19:22:09 -0300
Subject: [PATCH] Agregando gasPrice

---
 bin/compile.and.deploy.contract | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/compile.and.deploy.contract b/bin/compile.and.deploy.contract
index e5627f8..c3e537b 100755
--- a/bin/compile.and.deploy.contract
+++ b/bin/compile.and.deploy.contract
@@ -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 )
 {
-- 
GitLab