Merge pull request #30 from enthus1ast/patch-1

fix example in readme
This commit is contained in:
coffeepots 2018-08-13 19:18:25 +01:00 committed by GitHub
commit 3bcc481c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))