release: bal-server-0.2.1
This commit is contained in:
		
							parent
							
								
									8965a06dbe
								
							
						
					
					
						commit
						d154567aeb
					
				| @ -231,14 +231,14 @@ fn main_result(cfg: &MyConfig, network_params: &NetworkParams) -> Result<(), Err | ||||
|                 info!("to be pushed: {}: {}",txid, locktime); | ||||
|                 match rpc.send_raw_transaction(tx){ | ||||
|                     Ok(o) => { | ||||
|                         let mut file = OpenOptions::new() | ||||
|                         /*let mut file = OpenOptions::new()
 | ||||
|                             .append(true) // Set the append option
 | ||||
|                             .create(true) // Create the file if it doesn't exist
 | ||||
|                             .open("valid_txs")?; | ||||
|                         let data = format!("{}\t:\t{}\t:\t{}\n",txid,average_time,locktime); | ||||
|                         file.write_all(data.as_bytes())?; | ||||
|                         drop(file); | ||||
| 
 | ||||
|                         */ | ||||
|                         info!("tx: {} pusshata PUSHED\n{}",txid,o); | ||||
|                         pushed_txs.push(txid.to_string()); | ||||
|                     }, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user