fix: line xvb console unit time
Some checks failed
Audit / audit (push) Has been cancelled
Typo / typo (push) Has been cancelled
CI / ci (macos-latest) (push) Has been cancelled
CI / ci (ubuntu-latest) (push) Has been cancelled
Rust / fmt (push) Has been cancelled
Rust / test (macos-latest) (push) Has been cancelled
Rust / test (ubuntu-latest) (push) Has been cancelled
Rust / typo (push) Has been cancelled
Rust / clippy (macos-latest) (push) Has been cancelled
Rust / clippy (ubuntu-latest) (push) Has been cancelled
Rust / check (macos-latest) (push) Has been cancelled
Rust / check (ubuntu-latest) (push) Has been cancelled
Rust / doc (macos-latest) (push) Has been cancelled
Rust / doc (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Cyrix126 2024-07-26 12:55:11 +02:00
parent 6aaf4c9891
commit d66550184c

View file

@ -514,13 +514,13 @@ impl<'a> Algorithm<'a> {
output_console( output_console(
&mut lock!(self.gui_api_xvb).output, &mut lock!(self.gui_api_xvb).output,
&format!( &format!(
"There is a share in p2pool and 24H avg XvB is achieved. Sending {} to XvB!", "There is a share in p2pool and 24H avg XvB is achieved. Sending {} seconds to XvB!",
self.stats.spared_time self.stats.spared_time
), ),
crate::helper::ProcessName::Xvb, crate::helper::ProcessName::Xvb,
); );
info!("Algorithm | There is a share in p2pool and 24H avg XvB is achieved. Sending {} to XvB!", self.stats.spared_time); info!("Algorithm | There is a share in p2pool and 24H avg XvB is achieved. Sending seconds {} to XvB!", self.stats.spared_time);
*lock!(self.time_donated) = self.stats.spared_time; *lock!(self.time_donated) = self.stats.spared_time;