Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is vote_data in verify_slashable_attestation? #632

Closed
akhila-raju opened this issue Feb 14, 2019 · 1 comment · Fixed by #635
Closed

What is vote_data in verify_slashable_attestation? #632

akhila-raju opened this issue Feb 14, 2019 · 1 comment · Fixed by #635
Labels
general:bug Something isn't working

Comments

@akhila-raju
Copy link
Contributor

What is vote_data referring to in verify_slashable_attestation? I don't see this field used anywhere else.

@jrhea
Copy link
Contributor

jrhea commented Feb 15, 2019

it looks like it is leftover from SlashableVoteData. I think it should read:

        domain=get_domain(
            state.fork,
            slot_to_epoch(slashable_attestation.data.slot),
            DOMAIN_ATTESTATION,
        ),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants