From 804dbaa45ba0226379b2d768fa0bcd2113626c8a Mon Sep 17 00:00:00 2001 From: Daniil Lashin Date: Wed, 17 Apr 2019 20:46:11 +0300 Subject: [PATCH] Fix issue --- core/minter/minter.go | 2 ++ version/version.go | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/minter/minter.go b/core/minter/minter.go index 8ffe1cf6e..847ef1ea5 100644 --- a/core/minter/minter.go +++ b/core/minter/minter.go @@ -290,9 +290,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