From a032386e876cb652a27b5b5563afcea16f5b6e0f Mon Sep 17 00:00:00 2001 From: Jeremiah Andrews Date: Mon, 28 May 2018 15:50:07 -0700 Subject: [PATCH] Added comments to newly exported functions --- client/rpc/block.go | 1 + client/rpc/validators.go | 1 + 2 files changed, 2 insertions(+) diff --git a/client/rpc/block.go b/client/rpc/block.go index 36327a722..693298bb8 100644 --- a/client/rpc/block.go +++ b/client/rpc/block.go @@ -16,6 +16,7 @@ const ( flagSelect = "select" ) +//BlockCommand returns the verified block data for a given heights func BlockCommand() *cobra.Command { cmd := &cobra.Command{ Use: "block [height]", diff --git a/client/rpc/validators.go b/client/rpc/validators.go index bfd8a9582..e05d1c434 100644 --- a/client/rpc/validators.go +++ b/client/rpc/validators.go @@ -14,6 +14,7 @@ import ( // TODO these next two functions feel kinda hacky based on their placement +//ValidatorCommand returns the validator set for a given height func ValidatorCommand() *cobra.Command { cmd := &cobra.Command{ Use: "validatorset [height]",