Merge pull request #65 from 3esmit/develop

hardcode gas value at 524288 gas
This commit is contained in:
Teemu Patja 2017-06-07 11:04:04 +03:00 committed by GitHub
commit 11069fdea0
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]