Update verify_exit to spec v0.6.1

This commit is contained in:
Paul Hauner
2019-05-22 11:41:15 +10:00
parent bb7ee642d8
commit 04791dfc58
3 changed files with 19 additions and 13 deletions

View File

@@ -348,6 +348,8 @@ pub enum ExitValidationError {
/// Describes why an object is invalid.
#[derive(Debug, PartialEq)]
pub enum ExitInvalid {
/// The specified validator is not active.
NotActive(u64),
/// The specified validator is not in the state's validator registry.
ValidatorUnknown(u64),
/// The specified validator has a non-maximum exit epoch.