We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c79cb43 commit 875cdb7Copy full SHA for 875cdb7
1 file changed
src/translator/utils.rs
@@ -17,7 +17,7 @@ use bitcoin::{
17
use lazy_static::lazy_static;
18
use roles_logic_sv2::utils::Mutex;
19
use sv1_api::{client_to_server, server_to_client::Notify};
20
-use tracing::{debug, error};
+use tracing::{debug, error, info};
21
22
use super::downstream::Downstream;
23
lazy_static! {
@@ -159,9 +159,9 @@ pub fn validate_share(
159
);
160
161
hash.reverse(); //convert to little-endian
162
- debug!("Hash: {:?}", hash.to_vec().as_hex());
+ info!("Hash: {:?}", hash.to_vec().as_hex());
163
let target = Downstream::difficulty_to_target(difficulty);
164
- debug!("Target: {:?}", target.to_vec().as_hex());
+ info!("Target: {:?}", target.to_vec().as_hex());
165
hash <= target
166
}
167
0 commit comments