Fix bug with block production

This commit is contained in:
Paul Hauner
2019-08-30 11:04:15 +10:00
parent 31bbb0f573
commit 3365106340
4 changed files with 35 additions and 24 deletions

View File

@@ -37,6 +37,8 @@ pub enum BeaconChainError {
beacon_block_root: Hash256,
},
AttestationValidationError(AttestationValidationError),
/// Returned when an internal check fails, indicating corrupt data.
InvariantViolated(String),
}
easy_from_to!(SlotProcessingError, BeaconChainError);