fix(crypto): revert #20438 (#21019)

This commit is contained in:
Facundo Medica 2024-07-22 16:08:40 +02:00 committed by GitHub
parent eb71828960
commit 564cc4d370
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -169,11 +169,6 @@ func packPubKeys(pubKeys []cryptotypes.PubKey) ([]*types.Any, error) {
return nil, err
}
anyPubKeys[i] = any
// sets the compat.aminoBz value
if err := anyPubKeys[i].UnmarshalAmino(pubKeys[i].Bytes()); err != nil {
return nil, err
}
}
return anyPubKeys, nil
}