release: bal-server-0.2.1

This commit is contained in:
bitcoinafterlife 2025-07-16 04:26:02 -04:00
parent 8965a06dbe
commit d154567aeb
Signed by: bitcoinafterlife
GPG Key ID: FE756706E833E0D1

View File

@ -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());
},