#NEWLINE# def get_cryptocoin_addresses( self ) : #NEWLINE# #INDENT# routes = self . db . all ( "\n            SELECT network, address\n              FROM current_exchange_routes r\n             WHERE participant = %s\n               AND network = 'bitcoin'\n               AND error <> 'invalidated'\n        " , ( self . id , ) ) #NEWLINE# return { r . network : r . address for r in routes }