hardcode gas value at 524288 gas

This commit is contained in:
Ricardo Guilherme Schmidt 2017-06-06 18:37:17 -03:00
parent 57ce1831c8
commit d30f9f9f01
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,8 @@
owner2 (format-param owner) owner2 (format-param owner)
data (str contract-code owner2) data (str contract-code owner2)
value (format "0x%x" 0)] 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 (defn format-call-params
[method-id & params] [method-id & params]