Skip to content
Snippets Groups Projects
Unverified Commit d36bda52 authored by roadscape's avatar roadscape Committed by GitHub
Browse files

Fix method name for db_head_state (#166)

The actual method name is 'hive.db_head_state'
parent 70dc80a0
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ $ hive server ...@@ -45,7 +45,7 @@ $ hive server
``` ```
```bash ```bash
$ curl --data '{"jsonrpc":"2.0","id":0,"method":"db_head_state"}' http://localhost:8080 $ curl --data '{"jsonrpc":"2.0","id":0,"method":"hive.db_head_state"}' http://localhost:8080
{"jsonrpc": "2.0", "result": {"db_head_block": 19930795, "db_head_time": "2018-02-16 21:35:42", "db_head_age": 10}, "id": 0} {"jsonrpc": "2.0", "result": {"db_head_block": 19930795, "db_head_time": "2018-02-16 21:35:42", "db_head_age": 10}, "id": 0}
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment