#NEWLINE# def _handle_address_response( self , response_dict , peer , request , protocol ) : #NEWLINE# #INDENT# assert ( request . response_identifier in response_dict ) , ( 'Expected %s in dict but did not get it' % request . response_identifier ) #NEWLINE# assert ( protocol in self . _protocols ) , 'Responding protocol is not in our list of protocols' #NEWLINE# address = response_dict [ request . response_identifier ] #NEWLINE# self . wallet . update_peer_address ( peer , self )