diff --git a/x/crosschain/types/message_set_node_keys_test.go b/x/crosschain/types/message_set_node_keys_test.go index caddf48817..b98194cd0c 100644 --- a/x/crosschain/types/message_set_node_keys_test.go +++ b/x/crosschain/types/message_set_node_keys_test.go @@ -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() diff --git a/zetaclient/keys_test.go b/zetaclient/keys_test.go index 8936659fb3..a2bd2fdcd5 100644 --- a/zetaclient/keys_test.go +++ b/zetaclient/keys_test.go @@ -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)