Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pinosu committed Jan 2, 2025
1 parent 43c90e3 commit 02baef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ func (c WasmdCli) AddKey(name string) string {
}

// AddKeyFromSeed recovers the key from given seed and add it to default keyring. Returns address
func (c WasmdCli) AddKeyFromSeed(name, mnemoic string) string {
func (c WasmdCli) AddKeyFromSeed(name, mnemonic string) string {
cmd := c.withKeyringFlags("keys", "add", name, "--recover")
out, _ := c.runWithInput(cmd, strings.NewReader(mnemoic))
out, _ := c.runWithInput(cmd, strings.NewReader(mnemonic))
addr := gjson.Get(out, "address").String()
require.NotEmpty(c.t, addr, "got %q", out)
return addr
Expand Down

0 comments on commit 02baef5

Please sign in to comment.