Skip to content

Commit

Permalink
Merge pull request #2 from HaoyangLiu/feature/lcd-dev-1
Browse files Browse the repository at this point in the history
IRISHUB-357: go fmt block.go searchtx.go and validatorset.go
  • Loading branch information
HaoyangLiu authored Sep 17, 2018
2 parents 6e963c7 + 1578772 commit 48a192a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/tendermint/cli/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func getBlock(cliCtx context.CLIContext, height *int64) ([]byte, error) {

// TODO move maarshalling into cmd/rest functions
// output, err := tmcodec.MarshalJSON(res)
output, err := cdc.MarshalJSONIndent(res,"", " ")
output, err := cdc.MarshalJSONIndent(res, "", " ")
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion client/tendermint/cli/searchtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ gaiacli tendermint txs --tag test1,test2 --any
return err
}

output, err := cdc.MarshalJSONIndent(txs,"", " ")
output, err := cdc.MarshalJSONIndent(txs, "", " ")
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion client/tendermint/cli/validatorset.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func getValidators(cliCtx context.CLIContext, height *int64) ([]byte, error) {
}
}

output, err := cdc.MarshalJSONIndent(outputValidatorsRes,"", " ")
output, err := cdc.MarshalJSONIndent(outputValidatorsRes, "", " ")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 48a192a

Please sign in to comment.