Skip to content

Commit

Permalink
chore: remove duplicate log (#4700)
Browse files Browse the repository at this point in the history
Description
---
Removes duplicate log.
This log is logged twice, once here for each failed input and once inside `check_input_is_utxo`
  • Loading branch information
SWvheerden authored Sep 20, 2022
1 parent 92ceef9 commit 67e9f1e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions base_layer/core/src/validation/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,6 @@ pub fn check_inputs_are_utxos<B: BlockchainBackend>(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) => {
Expand Down

0 comments on commit 67e9f1e

Please sign in to comment.