diff --git a/src/lib.rs b/src/lib.rs index e1c4898..09beebb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -236,7 +236,7 @@ pub async fn stream_blocks( }); let transactions_check_process = spawn_check(&block, |b| { - check_transaction_root(b).map_err(|e| CheckError::TransactionError(e)) + check_transaction_root(b).map_err(CheckError::TransactionError) }); let joint_return = join![receipts_check_process, transactions_check_process];