fix: prefix

This commit is contained in:
Richard Ramos 2022-02-14 13:43:42 -04:00 committed by Iuri Matias
parent a3048f517b
commit bee583d448
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ proc adminPeers*(): RpcResponse[JsonNode] {.raises: [Exception].} =
proc wakuV2Peers*(): RpcResponse[JsonNode] {.raises: [Exception].} = proc wakuV2Peers*(): RpcResponse[JsonNode] {.raises: [Exception].} =
let payload = %* [] let payload = %* []
result = callPrivateRPC("peers", payload) result = callPrivateRPC("peers".prefix, payload)
proc sendRPCMessageRaw*(inputJSON: string): string {.raises: [Exception].} = proc sendRPCMessageRaw*(inputJSON: string): string {.raises: [Exception].} =
result = callPrivateRPCRaw(inputJSON) result = callPrivateRPCRaw(inputJSON)