mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-17 11:56:30 +00:00
Fix bug in send-transaction
This commit is contained in:
parent
67ca49b816
commit
43ea9b91e0
@ -75,12 +75,11 @@
|
||||
|
||||
(defn send-transaction
|
||||
[from to value & [params]]
|
||||
(let [
|
||||
args (merge params
|
||||
(let [args (merge params
|
||||
{:from from
|
||||
:value value}
|
||||
(when-not (nil? (gas-price))
|
||||
{:gasPrice (integer->hex gas-price)})
|
||||
{:gasPrice (integer->hex (gas-price))})
|
||||
(when-not (contains? params :gas)
|
||||
{:gas
|
||||
(estimate-gas from to value params)}))]
|
||||
|
Loading…
x
Reference in New Issue
Block a user