Revert most of commit ebd97730d5.

- Undoing making of the beacon chain read stuff return futures, instead dealing with it elsewhere.
This commit is contained in:
Luke Anderson
2019-09-11 18:21:51 +10:00
parent 2739ee83f9
commit 0bd8187ff6
3 changed files with 87 additions and 76 deletions

View File

@@ -95,6 +95,7 @@ impl<T: BeaconChainTypes> Service for ApiService<T> {
(&Method::GET, "/network/listen_port") => network::get_listen_port::<T>(req),
(&Method::GET, "/network/listen_addresses") => network::get_listen_addresses::<T>(req),
/*
// Methods for Beacon Node
(&Method::GET, "/beacon/head") => beacon::get_head::<T>(req),
(&Method::GET, "/beacon/block") => beacon::get_block::<T>(req),