mirror of
https://github.com/status-im/nim-json-rpc.git
synced 2025-02-23 17:58:20 +00:00
fix example in readme
This commit is contained in:
parent
642fdd591f
commit
d9678bab25
@ -298,7 +298,7 @@ The `call` procedure takes care of the basic format of the JSON to send to the s
|
||||
However you still need to provide `params` as a `JsonNode`, which must exactly match the parameters defined in the equivalent `rpc` definition.
|
||||
|
||||
```nim
|
||||
import json_rpc/[rpcclient, rpcserver], asyncdispatch, json
|
||||
import json_rpc/[rpcclient, rpcserver], asyncdispatch2, json
|
||||
|
||||
var
|
||||
server = newRpcSocketServer("localhost", Port(8545))
|
||||
|
Loading…
x
Reference in New Issue
Block a user