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…
Reference in New Issue