From 67e9f1e1a67de8a039af96faf3291de34f21bf6d Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Tue, 20 Sep 2022 09:02:23 +0200 Subject: [PATCH] chore: remove duplicate log (#4700) Description --- Removes duplicate log. This log is logged twice, once here for each failed input and once inside `check_input_is_utxo` --- base_layer/core/src/validation/helpers.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/base_layer/core/src/validation/helpers.rs b/base_layer/core/src/validation/helpers.rs index f771647284..954d231226 100644 --- a/base_layer/core/src/validation/helpers.rs +++ b/base_layer/core/src/validation/helpers.rs @@ -353,11 +353,6 @@ pub fn check_inputs_are_utxos(db: &B, body: &AggregateBody if output_hashes.iter().any(|output| output == &output_hash) { continue; } - - warn!( - target: LOG_TARGET, - "Validation failed due to input: {} which does not exist yet", input - ); not_found_inputs.push(output_hash); }, Err(err) => {