poanetwork / poa-network-consensus-contracts

Main repository for POADAO consensus. Includes contracts for Initial Ceremony, Governance, Management of Validators
GNU General Public License v3.0
68 stars 64 forks source link

(Fix) Remove an excess condition from RewardByBlock #209

Closed varasev closed 4 years ago

varasev commented 4 years ago

This condition in RewardByBlock must be removed as if a ballot for removing a validator is finalized in the block which is produced by the removed validator, the reward function will revert which will lead to network stop.