Fix compilation with Rust 1.65

This commit is contained in:
Michael Sproul
2022-11-16 16:59:56 +11:00
parent bfabaa10e0
commit e2bd4bcc21

View File

@@ -1,3 +1,4 @@
#![recursion_limit = "256"]
//! This crate contains a HTTP server which serves the endpoints listed here:
//!
//! https://github.com/ethereum/beacon-APIs
@@ -3175,6 +3176,7 @@ pub fn serve<T: BeaconChainTypes>(
.or(get_lighthouse_merge_readiness.boxed())
.or(get_events.boxed()),
)
.boxed()
.or(warp::post().and(
post_beacon_blocks
.boxed()