Correct attestation error handling

This commit is contained in:
Age Manning
2019-03-30 19:48:45 +11:00
parent fc5142c09a
commit 51ffbc07d2
3 changed files with 24 additions and 6 deletions

View File

@@ -31,6 +31,10 @@ pub enum ValidatorEvent {
BeaconNodeUnableToProduceAttestation(Slot),
/// The signer failed to sign the message.
SignerRejection(Slot),
/// Publishing an attestation failed.
PublishAttestationFailed,
/// Beacon node rejected the attestation.
InvalidAttestation,
}
/// This struct contains the logic for requesting and signing beacon blocks for a validator. The