corrects panic/timer msg for CheckBestChainTipNullifiersAndAnchors request (#6135)
This commit is contained in:
parent
4fda51f88f
commit
e1b8c43cfa
|
@ -1605,12 +1605,19 @@ impl Service<ReadRequest> 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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue