Minor fix: `messages` -> `message_hashes` (#664)

This commit is contained in:
Hsiao-Wei Wang 2019-02-20 19:42:53 +08:00 committed by Justin
parent 7f528a5082
commit a79fa398f1
1 changed files with 1 additions and 1 deletions

View File

@ -1698,7 +1698,7 @@ For each `attestation` in `block.body.attestations`:
bls_aggregate_pubkeys([state.validator_registry[i].pubkey for i in custody_bit_0_participants]),
bls_aggregate_pubkeys([state.validator_registry[i].pubkey for i in custody_bit_1_participants]),
],
messages=[
message_hashes=[
hash_tree_root(AttestationDataAndCustodyBit(data=attestation.data, custody_bit=0b0)),
hash_tree_root(AttestationDataAndCustodyBit(data=attestation.data, custody_bit=0b1)),
],