Skip to content

Commit

Permalink
chore(docs): comments should begin with the name of the thing being d…
Browse files Browse the repository at this point in the history
…escribed (#20903)
  • Loading branch information
TropicalDog17 authored Jul 8, 2024
1 parent acfd1ac commit 25e99c5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
DefaultGasLimit = 200000
GasFlagAuto = "auto"

// DefaultKeyringBackend
// DefaultKeyringBackend defines the default keyring backend to be used
DefaultKeyringBackend = keyring.BackendOS

// BroadcastSync defines a tx broadcasting mode where the client waits for
Expand Down Expand Up @@ -86,7 +86,7 @@ const (
// FlagOutput is the flag to set the output format.
// This differs from FlagOutputDocument that is used to set the output file.
FlagOutput = "output"
// Logging flags
// FlagLogLevel defines the flag for setting the log level
FlagLogLevel = "log_level"
FlagLogFormat = "log_format"
FlagLogNoColor = "log_no_color"
Expand Down
2 changes: 1 addition & 1 deletion client/rpc/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func QueryEventForTxCmd() *cobra.Command {
return WaitTxCmd()
}

// WaitTx returns a CLI command that waits for a transaction with the given hash to be included in a block.
// WaitTxCmd returns a CLI command that waits for a transaction with the given hash to be included in a block.
func WaitTxCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "wait-tx [hash]",
Expand Down
2 changes: 1 addition & 1 deletion crypto/hd/algo.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (
// Ed25519Type represents the Ed25519Type signature system.
// It is currently not supported for end-user keys (wallets/ledgers).
Ed25519Type = PubKeyType("ed25519")
// Ed25519Type represents the Ed25519Type signature system.
// Bls12_381Type represents the Bls12_381Type signature system.
// It is currently not supported for end-user keys (wallets/ledgers).
Bls12_381Type = PubKeyType("bls12_381")
// Sr25519Type represents the Sr25519Type signature system.
Expand Down
2 changes: 1 addition & 1 deletion crypto/keyring/keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type Keyring interface {
// Backend get the backend type used in the keyring config: "file", "os", "kwallet", "pass", "test", "memory".
Backend() string

// Get the db keyring used in the keystore.
// DB get the db keyring used in the keystore.
DB() keyring.Keyring

// List all keys.
Expand Down
1 change: 1 addition & 0 deletions crypto/keys/multisig/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
// TODO: Figure out API for others to either add their own pubkey types, or
// to make verify / marshal accept a AminoCdc.
const (
// PubKeyAminoRoute defines the amino route for a multisig threshold public key
PubKeyAminoRoute = "tendermint/PubKeyMultisigThreshold"
)

Expand Down

0 comments on commit 25e99c5

Please sign in to comment.