diff --git a/applications/tari_base_node/src/builder.rs b/applications/tari_base_node/src/builder.rs index 8eff0b5f0b..1c7519173a 100644 --- a/applications/tari_base_node/src/builder.rs +++ b/applications/tari_base_node/src/builder.rs @@ -242,8 +242,8 @@ async fn build_node_context( app_config.base_node.bypass_range_proof_verification, blockchain_db.clone(), )), - Box::new(TxInputAndMaturityValidator::new(blockchain_db.clone())), Box::new(TxConsensusValidator::new(blockchain_db.clone())), + Box::new(TxInputAndMaturityValidator::new(blockchain_db.clone())), ]); let mempool = Mempool::new( app_config.base_node.mempool.clone(), diff --git a/base_layer/core/src/mempool/mempool_storage.rs b/base_layer/core/src/mempool/mempool_storage.rs index 9d1b5751ba..2313ec13e7 100644 --- a/base_layer/core/src/mempool/mempool_storage.rs +++ b/base_layer/core/src/mempool/mempool_storage.rs @@ -113,7 +113,10 @@ impl MempoolStorage { Ok(TxStorageResponse::NotStoredConsensus) }, Err(ValidationError::DuplicateKernelError(msg)) => { - warn!(target: LOG_TARGET, "Validation failed due to duplicate kernel: {}", msg); + debug!( + target: LOG_TARGET, + "Validation failed due to already mined kernel: {}", msg + ); Ok(TxStorageResponse::NotStoredConsensus) }, Err(e) => { diff --git a/base_layer/wallet_ffi/build.rs b/base_layer/wallet_ffi/build.rs index 2ee7552698..29e32918c4 100644 --- a/base_layer/wallet_ffi/build.rs +++ b/base_layer/wallet_ffi/build.rs @@ -25,11 +25,7 @@ fn main() { ]), ..Default::default() }, - autogen_warning: Some( - "// This file was generated by cargo-bindgen. Please do not edit - manually." - .to_string(), - ), + autogen_warning: Some("// This file was generated by cargo-bindgen. Please do not edit manually.".to_string()), style: Style::Tag, cpp_compat: true, export: ExportConfig {