mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-14 03:25:58 +00:00
Add content-type to json-rpc post to make parity happy
This commit is contained in:
parent
6e108a088d
commit
07b61ee9c8
@ -18,7 +18,8 @@
|
|||||||
:method method
|
:method method
|
||||||
:params params
|
:params params
|
||||||
:id 1})
|
:id 1})
|
||||||
options {:body body}
|
options {:headers {"content-type" "application/json"}
|
||||||
|
:body body}
|
||||||
response (:body @(post eth-rpc-url options))
|
response (:body @(post eth-rpc-url options))
|
||||||
result (json/read-str response :key-fn keyword)]
|
result (json/read-str response :key-fn keyword)]
|
||||||
(log/debug body "\n" result)
|
(log/debug body "\n" result)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user