Update 0_beacon-chain.md (#635)

replace vote_data with slashable_attestation in verify_slashable_attestation()
This commit is contained in:
Jonny Rhea 2019-02-15 08:48:09 -06:00 committed by Justin
parent 984eb79f68
commit e074bc2c34
1 changed files with 1 additions and 1 deletions

View File

@ -1168,7 +1168,7 @@ def verify_slashable_attestation(state: BeaconState, slashable_attestation: Slas
hash_tree_root(AttestationDataAndCustodyBit(data=slashable_attestation.data, custody_bit=0b1)), hash_tree_root(AttestationDataAndCustodyBit(data=slashable_attestation.data, custody_bit=0b1)),
], ],
signature=slashable_attestation.aggregate_signature, signature=slashable_attestation.aggregate_signature,
domain=get_domain(state.fork, slot_to_epoch(vote_data.data.slot), DOMAIN_ATTESTATION), domain=get_domain(state.fork, slot_to_epoch(slashable_attestation.data.slot), DOMAIN_ATTESTATION),
) )
``` ```