#NEWLINE# def _sendExtend2Cell( self , _ , path_node ) : #NEWLINE# #INDENT# lspecs = [ LinkSpecifier ( path_node ) , LinkSpecifier ( path_node , legacy = True ) ] #NEWLINE# self . _hs_state = ntor . NTorState ( path_node . microdescriptor ) #NEWLINE# onion_skin = ntor . createOnionSkin ( self . _hs_state ) #NEWLINE# extend2 = RelayExtend2Cell . make ( self . circuit_id , nspec = len ( lspecs ) , lspecs = lspecs , hdata = onion_skin ) #NEWLINE# crypt_cell = crypto . encryptCell ( extend2 , self . _crypt_path , early = True ) #NEWLINE# self . _conn . send ( crypt_cell )