Rename variable only

This commit is contained in:
Jimmy Chen 2022-12-23 16:14:53 +11:00
parent 3b9041047a
commit f6d5e8fea3

View File

@ -3325,7 +3325,7 @@ pub fn serve<T: BeaconChainTypes>(
}); });
// GET lighthouse/beacon/blobs_sidecars/{block_id} // GET lighthouse/beacon/blobs_sidecars/{block_id}
let get_blobs_sidecars = warp::path("lighthouse") let get_lighthouse_blobs_sidecars = warp::path("lighthouse")
.and(warp::path("beacon")) .and(warp::path("beacon"))
.and(warp::path("blobs_sidecars")) .and(warp::path("blobs_sidecars"))
.and(block_id_or_err) .and(block_id_or_err)
@ -3494,7 +3494,7 @@ pub fn serve<T: BeaconChainTypes>(
.or(get_lighthouse_attestation_performance.boxed()) .or(get_lighthouse_attestation_performance.boxed())
.or(get_lighthouse_block_packing_efficiency.boxed()) .or(get_lighthouse_block_packing_efficiency.boxed())
.or(get_lighthouse_merge_readiness.boxed()) .or(get_lighthouse_merge_readiness.boxed())
.or(get_blobs_sidecars.boxed()) .or(get_lighthouse_blobs_sidecars.boxed())
.or(get_events.boxed()), .or(get_events.boxed()),
) )
.boxed() .boxed()