Fix bug in configurable gas price

This commit is contained in:
Teemu Patja 2017-06-07 16:07:22 +03:00
parent 11069fdea0
commit 5c004bbb47
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C

View File

@ -70,7 +70,7 @@
{:from from {:from from
:value value} :value value}
(when-not (nil? (gas-price)) (when-not (nil? (gas-price))
{:gasPrice gas-price}) {:gasPrice (gas-price)})
(when-not (contains? params :gas) (when-not (contains? params :gas)
{:gas {:gas
(estimate-gas from to value params)}))] (estimate-gas from to value params)}))]