diff --git a/crates/blockchain-tree/src/blockchain_tree.rs b/crates/blockchain-tree/src/blockchain_tree.rs index 0ed28c89b..93a0b077d 100644 --- a/crates/blockchain-tree/src/blockchain_tree.rs +++ b/crates/blockchain-tree/src/blockchain_tree.rs @@ -28,7 +28,7 @@ use std::{ collections::{BTreeMap, HashMap}, sync::Arc, }; -use tracing::{debug, error, info, instrument, trace}; +use tracing::{debug, error, info, instrument, trace, warn}; #[cfg_attr(doc, aquamarine::aquamarine)] /// Tree of chains and its identifications. @@ -887,7 +887,7 @@ impl BlockchainTree } let Some(chain_id) = self.block_indices.get_blocks_chain_id(block_hash) else { - error!(target: "blockchain_tree", ?block_hash, "Block hash not found in block indices"); + warn!(target: "blockchain_tree", ?block_hash, "Block hash not found in block indices"); // TODO: better error return Err(BlockExecutionError::BlockHashNotFoundInChain { block_hash: *block_hash }.into()) };