mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 21:04:41 +00:00
Fixing some API bits
- Adding the validator routes into the main function. - Fixing the setting of the aggregation bits, and handling errors correctly. - Rust format fixes, and addressing compiler warnings.
This commit is contained in:
@@ -170,11 +170,11 @@ pub fn start_server<T: BeaconChainTypes>(
|
||||
validator::get_new_beacon_block::<T>(req)
|
||||
}
|
||||
(&Method::POST, "/beacon/validator/block") => {
|
||||
helpers::implementation_pending_response(req)
|
||||
validator::publish_beacon_block::<T>(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