def address_reencode(address, blockchain='bitcoin', **blockchain_opts):
    """
    Reencode an address
    """
    if blockchain == 'bitcoin':
        return btc_address_reencode(address, **blockchain_opts)
    else:
        raise ValueError("Unknown blockchain '{}'".format(blockchain))
def address_reencode ( address , blockchain = 'bitcoin' , ** blockchain_opts ) : if blockchain == 'bitcoin' : return btc_address_reencode ( address , ** blockchain_opts ) else : raise ValueError ( "Unknown blockchain '{}'" . format ( blockchain ) )
Reencode an address