mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-13 11:06:18 +00:00
parent
034dacf29a
commit
8006646d6d
@ -64,8 +64,7 @@
|
|||||||
|
|
||||||
(defn send-transaction
|
(defn send-transaction
|
||||||
[from to value & [params]]
|
[from to value & [params]]
|
||||||
;; todo: estimate gas instead of hardcoding
|
(let [gas (estimate-gas from to value params)
|
||||||
(let [gas (format "0x%x" 2600000)
|
|
||||||
args (merge params {:from from
|
args (merge params {:from from
|
||||||
:value value
|
:value value
|
||||||
:gas gas})]
|
:gas gas})]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user