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