File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed 
lightning-transaction-sync/tests Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -466,12 +466,13 @@ fn test_electrum_syncs() {
466466	let  block_hash = tx_res. info . blockhash . unwrap ( ) ; 
467467	let  tx = tx_res. transaction ( ) . unwrap ( ) ; 
468468	let  prev_outpoint = tx. input . first ( ) . unwrap ( ) . previous_output ; 
469- 	let  prev_tx = bitcoind. client . get_transaction ( & prev_outpoint. txid , 
470- 		None ) . unwrap ( ) . transaction ( ) . unwrap ( ) ; 
469+ 	let  prev_tx = bitcoind. client . get_transaction ( & prev_outpoint. txid ,   None ) . unwrap ( ) . transaction ( ) 
470+ 		. unwrap ( ) ; 
471471	let  prev_script_pubkey = prev_tx. output [ prev_outpoint. vout  as  usize ] . script_pubkey . clone ( ) ; 
472- 	let  output = WatchedOutput  {  block_hash :  Some ( block_hash) ,  outpoint :  OutPoint  { 
473- 		txid :  prev_outpoint. txid ,  index :  prev_outpoint. vout  as  u16  } , 
474- 		script_pubkey :  prev_script_pubkey } ; 
472+ 	let  output = WatchedOutput  {  block_hash :  Some ( block_hash) , 
473+ 		outpoint :  OutPoint  {  txid :  prev_outpoint. txid ,  index :  prev_outpoint. vout  as  u16  } , 
474+ 		script_pubkey :  prev_script_pubkey
475+ 	} ; 
475476
476477	tx_sync. register_output ( output) ; 
477478	tx_sync. sync ( vec ! [ & confirmable] ) . unwrap ( ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments