mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Factored out getting beacon_chain from request into it's own function.
This commit is contained in:
@@ -172,9 +172,9 @@ pub fn start_server<T: BeaconChainTypes>(
|
||||
(&Method::POST, "/beacon/validator/block") => {
|
||||
helpers::implementation_pending_response(req)
|
||||
}
|
||||
(&Method::GET, "/beacon/validator/attestation") => {
|
||||
/*(&Method::GET, "/beacon/validator/attestation") => {
|
||||
validator::get_new_attestation::<T>(req)
|
||||
}
|
||||
}*/
|
||||
(&Method::POST, "/beacon/validator/attestation") => {
|
||||
helpers::implementation_pending_response(req)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user