Skip to content

Commit

Permalink
Added comments to newly exported functions
Browse files Browse the repository at this point in the history
  • Loading branch information
UnitylChaos committed Jun 1, 2018
1 parent 083ca82 commit a032386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/rpc/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down
1 change: 1 addition & 0 deletions client/rpc/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down

0 comments on commit a032386

Please sign in to comment.