chore: gofumpt (#11839)
* fumpt using main not master... * be more descriptive * fumpt * fix nits Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
bc2d553f77
commit
55054282d2
@@ -94,7 +94,7 @@ HbP+c6JmeJy9JXe2rbbF1QtCX1gLqGcDQPBXiCtFvP7/8wTZtVOPj8vREzhZ9ElO
|
||||
t.Cleanup(cleanupKeys(t, kb, "keyname1"))
|
||||
|
||||
keyfile := filepath.Join(kbHome, "key.asc")
|
||||
require.NoError(t, os.WriteFile(keyfile, []byte(armoredKey), 0644))
|
||||
require.NoError(t, os.WriteFile(keyfile, []byte(armoredKey), 0o644))
|
||||
|
||||
defer func() {
|
||||
_ = os.RemoveAll(kbHome)
|
||||
|
||||
@@ -42,7 +42,7 @@ func Test_runListCmd(t *testing.T) {
|
||||
clientCtx := client.Context{}.WithKeyring(kb)
|
||||
ctx := context.WithValue(context.Background(), client.ClientContextKey, &clientCtx)
|
||||
|
||||
path := "" //sdk.GetConfig().GetFullBIP44Path()
|
||||
path := "" // sdk.GetConfig().GetFullBIP44Path()
|
||||
_, err = kb.NewAccount("something", testdata.TestMnemonic, "", path, hd.Secp256k1)
|
||||
require.NoError(t, err)
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@ func (s *MigrateTestSuite) SetupSuite() {
|
||||
}
|
||||
|
||||
func (s *MigrateTestSuite) Test_runListAndShowCmd() {
|
||||
|
||||
// adding LegacyInfo item into keyring
|
||||
multi := multisig.NewLegacyAminoPubKey(
|
||||
1, []cryptotypes.PubKey{
|
||||
@@ -60,7 +59,7 @@ func (s *MigrateTestSuite) Test_runListAndShowCmd() {
|
||||
Description: "SDK keyring version",
|
||||
}
|
||||
|
||||
//run test simd keys list - to see that the migrated key is there
|
||||
// run test simd keys list - to see that the migrated key is there
|
||||
cmd := ListKeysCmd()
|
||||
cmd.Flags().AddFlagSet(Commands("home").PersistentFlags())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user