Skip to content

Commit

Permalink
Merge pull request #239 from MinterTeam/dev
Browse files Browse the repository at this point in the history
v0.19.1
  • Loading branch information
danil-lashin authored Apr 17, 2019
2 parents 5db0e53 + 804dbaa commit 7aed0b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions core/minter/minter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7aed0b9

Please sign in to comment.