We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce61205 commit 66e2a7cCopy full SHA for 66e2a7c
components/chainhook-event-observer/src/observer/mod.rs
@@ -601,7 +601,8 @@ pub async fn start_observer_commands_handler(
601
let mut bitcoin_block_store: HashMap<BlockIdentifier, BitcoinBlockData> = HashMap::new();
602
let cache_size = config
603
.hord_config
604
- .and_then(|ref c| Some(c.cache_size))
+ .as_ref()
605
+ .and_then(|c| Some(c.cache_size))
606
.unwrap_or(0);
607
let traversals_cache = Arc::new(new_traversals_lazy_cache(cache_size));
608
0 commit comments