Replies: 1 comment
-
what is failing exactly? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
if tally := snap.Tally[candidate]; tally.Votes > snap.ValSet.Size()/2 {
// if tally := snap.Tally[candidate]; tally.Votes > 0 {
if tally.Authorize {
logger.Info("BFT: reached majority to add validator")
snap.ValSet.AddValidator(candidate)
} else {
logger.Info("BFT: reached majority to remove validator")
snap.ValSet.RemoveValidator(candidate)
I try to change tally.Votes > 0 to become a public chain,but fail?how
Beta Was this translation helpful? Give feedback.
All reactions