Skip to content

Commit

Permalink
fix ineffectual assignment to err in 2 suite files
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbono3 committed Jul 13, 2021
1 parent 1401291 commit 7beebb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions x/feegrant/client/testutil/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ func (s *IntegrationTestSuite) TestTxWithFeeGrant() {
k, _, err := val.ClientCtx.Keyring.NewMnemonic("grantee", keyring.English, sdk.FullFundraiserPath, keyring.DefaultBIP39Passphrase, hd.Secp256k1)
s.Require().NoError(err)
pub, err := k.GetPubKey()
s.Require().NoError(err)
grantee := sdk.AccAddress(pub.Address())

commonFlags := []string{
Expand Down
1 change: 1 addition & 0 deletions x/staking/client/testutil/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,7 @@ func (s *IntegrationTestSuite) TestBlockResults() {
k, _, err := val.ClientCtx.Keyring.NewMnemonic("NewDelegator", keyring.English, sdk.FullFundraiserPath, keyring.DefaultBIP39Passphrase, hd.Secp256k1)
require.NoError(err)
pub, err := k.GetPubKey()
require.NoError(err)
newAddr := sdk.AccAddress(pub.Address())

// Send some funds to the new account.
Expand Down

0 comments on commit 7beebb2

Please sign in to comment.