spec v0.6.1: verify proposer slashing

This commit is contained in:
Michael Sproul
2019-05-20 15:04:55 +10:00
parent 366f0ffd87
commit 58481c7119
2 changed files with 7 additions and 11 deletions

View File

@@ -281,10 +281,8 @@ pub enum ProposerSlashingInvalid {
ProposalEpochMismatch(Slot, Slot),
/// The proposals are identical and therefore not slashable.
ProposalsIdentical,
/// The specified proposer has already been slashed.
ProposerAlreadySlashed,
/// The specified proposer has already been withdrawn.
ProposerAlreadyWithdrawn(u64),
/// The specified proposer cannot be slashed because they are already slashed, or not active.
ProposerNotSlashable(u64),
/// The first proposal signature was invalid.
BadProposal1Signature,
/// The second proposal signature was invalid.