mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-07 08:03:07 +00:00
Cosmetic spacing update
This commit is contained in:
parent
591b69c3f7
commit
8b42296553
@ -16,10 +16,8 @@ proc call*(self: RpcSocketClient, name: string,
|
||||
params: JsonNode): Future[Response] {.async.} =
|
||||
## Remotely calls the specified RPC method.
|
||||
let id = self.getNextId()
|
||||
var value = $rpcCallNode(name, params, id) & "\c\l"
|
||||
|
||||
var
|
||||
value =
|
||||
$rpcCallNode(name, params, id) & "\c\l"
|
||||
if self.transport.isNil:
|
||||
var connectStr = ""
|
||||
raise newException(ValueError, "Transport is not initialised (missing a call to connect?)")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user