Skip to content

Commit

Permalink
uncommented changes in parse.go
Browse files Browse the repository at this point in the history
  • Loading branch information
PrathyushaLakkireddy committed May 12, 2021
1 parent 3f1afa8 commit cf89d79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/keys/parse.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package keys

import (
"context"
"encoding/hex"
"errors"
"fmt"
Expand Down Expand Up @@ -86,7 +85,7 @@ hexadecimal into bech32 cosmos prefixed format and vice versa.
}

func parseKey(cmd *cobra.Command, args []string) error {
config, _ := sdk.GetSealedConfig(context.Background())
config, _ := sdk.GetSealedConfig(cmd.Context())
return doParseKey(cmd, config, args)
}

Expand Down

0 comments on commit cf89d79

Please sign in to comment.