update pubkey

This commit is contained in:
Federico Kunze 2020-04-27 13:28:42 -04:00
parent 5473e9d8f4
commit 1cd1b1e259
No known key found for this signature in database
GPG Key ID: 655F93A970080A30
2 changed files with 3 additions and 2 deletions

View File

@ -397,8 +397,9 @@ func TestKavaCLICreateValidator(t *testing.T) {
barAddr := f.KeyAddress(keyBar)
barVal := sdk.ValAddress(barAddr)
consPubKey, err := sdk.Bech32ifyPubKey(sdk.Bech32PubKeyTypeAccPub, ed25519.GenPrivKey().PubKey())
consPubKey, err := sdk.Bech32ifyPubKey(sdk.Bech32PubKeyTypeValPub, ed25519.GenPrivKey().PubKey())
require.NoError(t, err)
require.NotEmpty(t, consPubKey)
sendTokens := sdk.TokensFromConsensusPower(10)
f.TxSend(keyFoo, barAddr, sdk.NewCoin(denom, sendTokens), "-y")

View File

@ -66,7 +66,7 @@ func init() {
// set the address prefixes
config := sdk.GetConfig()
app.SetBech32AddressPrefixes(config)
config.Seal()
// config.Seal()
}
//___________________________________________________________________________________