mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-14 19:43:05 +00:00
Removed extraneous debug output
This commit is contained in:
parent
5dba128947
commit
e39008fe4a
@ -6,14 +6,15 @@ proc rawCall*(self: RpcClient, name: string,
|
||||
# For debug purposes only
|
||||
let id = $self.nextId
|
||||
self.nextId.inc
|
||||
debug "Sending message", msg = msg
|
||||
|
||||
var s = msg & "\c\l"
|
||||
let res = await self.transp.write(s)
|
||||
|
||||
debug "Receiving length assert", value = res, length = len(msg), lengthDifferent = res != len(msg)
|
||||
|
||||
# completed by processMessage.
|
||||
var newFut = newFuture[Response]()
|
||||
# add to awaiting responses
|
||||
self.awaiting[id] = newFut
|
||||
|
||||
|
||||
result = await newFut
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user