chore: discard instead of echo'ing output of callPrivateRPC("requestMessages", ...)

This commit is contained in:
Michael Bradley, Jr 2020-09-23 15:08:02 -05:00 committed by Iuri Matias
parent 0882ba18af
commit e3dc0469e2
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ proc requestMessages*(topics: seq[string], symKeyID: string, peer: string, numbe
if toTimestamp != 0:
toValue = toTimestamp
echo callPrivateRPC("requestMessages".prefix, %* [
discard callPrivateRPC("requestMessages".prefix, %* [
{
"topics": topics,
"mailServerPeer": peer,
@ -85,7 +85,7 @@ proc requestMessages*(topics: seq[string], symKeyID: string, peer: string, numbe
}
])
proc getMailserverTopics*(): string =
proc getMailserverTopics*(): string =
return callPrivateRPC("mailservers_getMailserverTopics", %*[])
proc addMailserverTopic*(topic: MailserverTopic): string =