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.
|
// The work is done in the future.
|
||||||
timer.finish(module_path!(), line!(), "ReadRequest::UnspentBestChainUtxo");
|
timer.finish(
|
||||||
|
module_path!(),
|
||||||
|
line!(),
|
||||||
|
"ReadRequest::CheckBestChainTipNullifiersAndAnchors",
|
||||||
|
);
|
||||||
|
|
||||||
Ok(ReadResponse::ValidBestChainTipNullifiersAndAnchors)
|
Ok(ReadResponse::ValidBestChainTipNullifiersAndAnchors)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.map(|join_result| join_result.expect("panic in ReadRequest::UnspentBestChainUtxo"))
|
.map(|join_result| {
|
||||||
|
join_result
|
||||||
|
.expect("panic in ReadRequest::CheckBestChainTipNullifiersAndAnchors")
|
||||||
|
})
|
||||||
.boxed()
|
.boxed()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue