corrects panic/timer msg for CheckBestChainTipNullifiersAndAnchors request (#6135)

This commit is contained in:
Arya 2023-02-10 04:54:11 -05:00 committed by GitHub
parent 4fda51f88f
commit e1b8c43cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -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()
}