chore: typos fixes by cosmos-sdk bot (#18689)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: marbar3778 <marbar3778@yahoo.com>
This commit is contained in:
co-authored by
github-merge-queue
Julien Robert
marbar3778
parent
39865d852f
commit
8f0d5b15f0
+2
-2
@@ -8,7 +8,7 @@ import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
)
|
||||
|
||||
// GenerateCoinKey generates a new key mnemonic along with its addrress.
|
||||
// GenerateCoinKey generates a new key mnemonic along with its address.
|
||||
func GenerateCoinKey(algo keyring.SignatureAlgo, cdc codec.Codec) (sdk.AccAddress, string, error) {
|
||||
// generate a private key, with mnemonic
|
||||
info, secret, err := keyring.NewInMemory(cdc).NewMnemonic(
|
||||
@@ -28,7 +28,7 @@ func GenerateCoinKey(algo keyring.SignatureAlgo, cdc codec.Codec) (sdk.AccAddres
|
||||
return addr, secret, nil
|
||||
}
|
||||
|
||||
// GenerateSaveCoinKey generates a new key mnemonic with its addrress.
|
||||
// GenerateSaveCoinKey generates a new key mnemonic with its address.
|
||||
// If mnemonic is provided then it's used for key generation.
|
||||
// The key is saved in the keyring. The function returns error if overwrite=true and the key
|
||||
// already exists.
|
||||
|
||||
@@ -602,7 +602,7 @@ func New(l Logger, baseDir string, cfg Config) (NetworkI, error) {
|
||||
|
||||
l.Log("started test network at height:", height)
|
||||
|
||||
// Ensure we cleanup incase any test was abruptly halted (e.g. SIGINT) as any
|
||||
// Ensure we cleanup in case any test was abruptly halted (e.g. SIGINT) as any
|
||||
// defer in a test would not be called.
|
||||
trapSignal(network.Cleanup)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user