def public_key64_to_address(base64_public_key):
    """Note this only compatible with Tendermint 0.19.x"""
    ed25519_public_key = public_key_from_base64(base64_public_key)
    encoded_public_key = amino_encoded_public_key(ed25519_public_key)
    return hashlib.new('ripemd160', encoded_public_key).hexdigest().upper()
def public_key64_to_address ( base64_public_key ) : ed25519_public_key = public_key_from_base64 ( base64_public_key ) encoded_public_key = amino_encoded_public_key ( ed25519_public_key ) return hashlib . new ( 'ripemd160' , encoded_public_key ) . hexdigest ( ) . upper ( )
Note this only compatible with Tendermint 0.19.x