#NEWLINE# def process_reply( self , reply_ep ) : #NEWLINE# #INDENT# rtxs = RawTxSpec . from_tx_data ( self . ewctrl . model , reply_ep . etx_data . decode ( 'hex' ) ) #NEWLINE# if self . ewctrl . check_tx ( self , self . etx_spec ) : #NEWLINE# #INDENT# rtxs . sign ( self . etx_spec . my_utxo_list ) #NEWLINE# self . ewctrl . publish_tx ( rtxs , self . my_offer ) #NEWLINE# self . etx_data = rtxs . get_hex_tx_data ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise Exception ( 'P2ptrade reply tx check failed!' )