Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Repair IbftBlockCreator and add tests #421

Merged
merged 4 commits into from
Dec 14, 2018

Conversation

rain-on
Copy link
Contributor

@rain-on rain-on commented Dec 14, 2018

The IbftBlockCreator was using the incorrect MixHash, such that validation would fail.

Secondly, the hash function used to create the block meant that block's hash would not be correctly calculated (i.e. as its not an "on chain" block, its hash should the Round number, but not the commit seals).

@rain-on rain-on requested review from jframe and Errorific December 14, 2018 03:29
@rain-on rain-on merged commit 5bdf698 into PegaSysEng:master Dec 14, 2018
@rain-on rain-on deleted the block_creator_repair branch January 16, 2019 21:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants