From 21f431f28dbaae32be47426b5933759710f3131d Mon Sep 17 00:00:00 2001
From: Angelo Capossele <angelocapossele@gmail.com>
Date: Thu, 9 Apr 2020 16:37:00 +0100
Subject: [PATCH] Update plugins/webapi/drng/info/randomness/handler.go

Co-Authored-By: Luca Moser <moser.luca@gmail.com>
---
 plugins/webapi/drng/info/randomness/handler.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/plugins/webapi/drng/info/randomness/handler.go b/plugins/webapi/drng/info/randomness/handler.go
index fd64d449..442b0e93 100644
--- a/plugins/webapi/drng/info/randomness/handler.go
+++ b/plugins/webapi/drng/info/randomness/handler.go
@@ -8,8 +8,7 @@ import (
 	"github.com/labstack/echo"
 )
 
-// Handler creates a message of the given payload and
-// broadcasts it to the node's neighbors. It returns the message ID if successful.
+// Handler returns the current DRNG randomness used.
 func Handler(c echo.Context) error {
 	randomness := drng.Instance.State.Randomness()
 	return c.JSON(http.StatusOK, Response{
-- 
GitLab