mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-12 18:44:38 +00:00
Do not prepend '0x' to params
This commit is contained in:
parent
5fd22660d2
commit
26973ae7d5
@ -136,11 +136,11 @@
|
||||
[param]
|
||||
(if (number? param)
|
||||
(format "%064x" param)
|
||||
(clojure.string/replace (format "0x%64s" (subs param 2)) " " "0")))
|
||||
(clojure.string/replace (format "%64s" (subs param 2)) " " "0")))
|
||||
|
||||
(defn get-transaction-receipt
|
||||
[hash]
|
||||
(eth-rpc "eth_getTransactionReceipt" [(format-param hash)]))
|
||||
(eth-rpc "eth_getTransactionReceipt" [hash]))
|
||||
|
||||
(defn format-call-params
|
||||
[method-id & params]
|
||||
|
Loading…
x
Reference in New Issue
Block a user