one less unwrap

This commit is contained in:
Bryan Stitt 2023-01-25 00:45:49 -08:00
parent 0c387af589
commit 0c879c5613

@ -57,7 +57,7 @@ pub async fn main(
.json::<JsonRpcResponse<Block<TxHash>>>()
.await?
.result
.unwrap();
.context(format!("error fetching block from {}", rpc))?;
// check the parent because b and c might not be as fast as a
let parent_hash = a.parent_hash;