From 5292e0691fbf272f99ffb8887473317bdbe6fecc Mon Sep 17 00:00:00 2001
From: capossele <angelocapossele@gmail.com>
Date: Thu, 2 Apr 2020 18:09:36 +0100
Subject: [PATCH] :pencil: improves comments

---
 plugins/webapi/findMessageById/plugin.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/webapi/findMessageById/plugin.go b/plugins/webapi/findMessageById/plugin.go
index 5c74ff33..806aa04e 100644
--- a/plugins/webapi/findMessageById/plugin.go
+++ b/plugins/webapi/findMessageById/plugin.go
@@ -20,7 +20,7 @@ func configure(plugin *node.Plugin) {
 	webapi.Server.POST("findMessageById", findMessageById)
 }
 
-// getMessageByHash returns the array of messages for the
+// findMessageById returns the array of messages for the
 // given message ids (MUST be encoded in base58), in the same order as the parameters.
 // If a node doesn't have the message for a given ID in its ledger,
 // the value at the index of that message ID is empty.
-- 
GitLab