diff --git a/plugins/webapi/drng/info/randomness/handler.go b/plugins/webapi/drng/info/randomness/handler.go index fd64d4499d9505cdbfc1c61235b4a2fcd8e0a459..442b0e9333ce0f6a4aab5d453a81dd7b2033341e 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{