ethereum / research

MIT License
1.81k stars 591 forks source link

Fix prepare and commit function signature #21

Open djrtwo opened 7 years ago

djrtwo commented 7 years ago

Position of "epoch" and "hash" were flipped compared to the viper casper implementation. Were also flipped compared to the function signature in "Commandment II".

Swap positional arguments such that "e" comes before "h" and "e" comes before "h".

EDIT: I could see an argument for making the function signature the original way, but in that case we should edit the function signature under "Commandment II" for consistency within the paper.