Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Oct 31, 2023
1 parent 2e536d4 commit 0c2994d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/crosschain/types/message_set_node_keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestMsgSetNodeKeys_ValidateBasic(t *testing.T) {
_, err := kb.NewAccount(mc.GetGranteeKeyName("signerName"), testdata.TestMnemonic, "", path, hd.Secp256k1)
require.NoError(t, err)
granterAddress := sdk.AccAddress(crypto.AddressHash([]byte("granterAddress")))
k := mc.NewKeysWithKeybase(kb, granterAddress, "signerName", "")
k := mc.NewKeysWithKeybase(kb, granterAddress, "signerName")
pubKeySet, err := k.GetPubKeySet()
assert.NoError(t, err)
addr, err := k.GetSignerInfo().GetAddress()
Expand Down
2 changes: 1 addition & 1 deletion zetaclient/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (ks *KeysSuite) TestNewKeys(c *C) {
c.Assert(err, IsNil)
c.Assert(k, NotNil)
granter := cosmos.AccAddress(crypto.AddressHash([]byte("granter")))
ki := NewKeysWithKeybase(k, granter, signerNameForTest, signerPasswordForTest)
ki := NewKeysWithKeybase(k, granter, signerNameForTest)
kInfo := ki.GetSignerInfo()
c.Assert(kInfo, NotNil)
//c.Assert(kInfo.G, Equals, signerNameForTest)
Expand Down

0 comments on commit 0c2994d

Please sign in to comment.