mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-03 04:44:28 +00:00
Fix compilation with Rust 1.65
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
#![recursion_limit = "256"]
|
||||||
//! This crate contains a HTTP server which serves the endpoints listed here:
|
//! This crate contains a HTTP server which serves the endpoints listed here:
|
||||||
//!
|
//!
|
||||||
//! https://github.com/ethereum/beacon-APIs
|
//! https://github.com/ethereum/beacon-APIs
|
||||||
@@ -3175,6 +3176,7 @@ pub fn serve<T: BeaconChainTypes>(
|
|||||||
.or(get_lighthouse_merge_readiness.boxed())
|
.or(get_lighthouse_merge_readiness.boxed())
|
||||||
.or(get_events.boxed()),
|
.or(get_events.boxed()),
|
||||||
)
|
)
|
||||||
|
.boxed()
|
||||||
.or(warp::post().and(
|
.or(warp::post().and(
|
||||||
post_beacon_blocks
|
post_beacon_blocks
|
||||||
.boxed()
|
.boxed()
|
||||||
|
|||||||
Reference in New Issue
Block a user