mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 02:12:33 +00:00
Start implementation of 'get attstation' validator function.
- Created new /beacon/validator/attestation endpoint - Updated some small issues with the API spec.
This commit is contained in:
@@ -173,7 +173,7 @@ pub fn start_server<T: BeaconChainTypes>(
|
||||
helpers::implementation_pending_response(req)
|
||||
}
|
||||
(&Method::GET, "/beacon/validator/attestation") => {
|
||||
helpers::implementation_pending_response(req)
|
||||
validator::get_new_attestation::<T>(req)
|
||||
}
|
||||
(&Method::POST, "/beacon/validator/attestation") => {
|
||||
helpers::implementation_pending_response(req)
|
||||
|
||||
Reference in New Issue
Block a user