From 02baef54b782f9bb35d8c8309ff9cf1605f84cc4 Mon Sep 17 00:00:00 2001 From: Pino' Surace Date: Thu, 2 Jan 2025 11:33:02 +0100 Subject: [PATCH] Fix typo --- tests/system/cli.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system/cli.go b/tests/system/cli.go index 5b0eef69d3..38af4190b3 100644 --- a/tests/system/cli.go +++ b/tests/system/cli.go @@ -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