From d30f9f9f0185617fe861f8787b02cdd80320fdf6 Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Tue, 6 Jun 2017 18:37:17 -0300 Subject: [PATCH] hardcode gas value at 524288 gas --- src/clj/commiteth/eth/core.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clj/commiteth/eth/core.clj b/src/clj/commiteth/eth/core.clj index 577a2fb..ab0359f 100644 --- a/src/clj/commiteth/eth/core.clj +++ b/src/clj/commiteth/eth/core.clj @@ -99,7 +99,8 @@ owner2 (format-param owner) data (str contract-code owner2) value (format "0x%x" 0)] - (send-transaction (eth-account) nil value {:data data}))) + (send-transaction (eth-account) nil value {:gas "0x80000" + :data data}))) (defn format-call-params [method-id & params]