diff --git a/core/minter/minter.go b/core/minter/minter.go index e3a476172..42323b6d8 100644 --- a/core/minter/minter.go +++ b/core/minter/minter.go @@ -289,9 +289,11 @@ func (app *Blockchain) EndBlock(req abciTypes.RequestEndBlock) abciTypes.Respons newCandidates := app.stateDeliver.GetCandidates(valsCount, req.Height) // remove candidates with 0 total stake + FOR: for i, candidate := range newCandidates { if candidate.TotalBipStake.Cmp(big.NewInt(0)) != 1 { newCandidates = append(newCandidates[:i], newCandidates[i+1:]...) + goto FOR } } diff --git a/version/version.go b/version/version.go index c1c06deb0..c7fd78e75 100755 --- a/version/version.go +++ b/version/version.go @@ -4,14 +4,14 @@ package version const ( Maj = "0" Min = "19" - Fix = "0" + Fix = "1" AppVer = 4 ) var ( // Must be a string because scripts like dist.sh read this file. - Version = "0.19.0" + Version = "0.19.1" // GitCommit is the current HEAD set using ldflags. GitCommit string