From e1b8c43cfaf3a22b98bb714792a78bd7b65537d8 Mon Sep 17 00:00:00 2001 From: Arya Date: Fri, 10 Feb 2023 04:54:11 -0500 Subject: [PATCH] corrects panic/timer msg for CheckBestChainTipNullifiersAndAnchors request (#6135) --- zebra-state/src/service.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/zebra-state/src/service.rs b/zebra-state/src/service.rs index 1a21ce95..623fbca1 100644 --- a/zebra-state/src/service.rs +++ b/zebra-state/src/service.rs @@ -1605,12 +1605,19 @@ impl Service for ReadStateService { )?; // The work is done in the future. - timer.finish(module_path!(), line!(), "ReadRequest::UnspentBestChainUtxo"); + timer.finish( + module_path!(), + line!(), + "ReadRequest::CheckBestChainTipNullifiersAndAnchors", + ); Ok(ReadResponse::ValidBestChainTipNullifiersAndAnchors) }) }) - .map(|join_result| join_result.expect("panic in ReadRequest::UnspentBestChainUtxo")) + .map(|join_result| { + join_result + .expect("panic in ReadRequest::CheckBestChainTipNullifiersAndAnchors") + }) .boxed() }