Merge PR #2159: fix the gov/slash error

This commit is contained in:
Mike Xu
2018-08-29 01:22:39 -04:00
committed by Rigel
parent 24c7cb03d3
commit fd8c1e5253
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -86,5 +86,6 @@ BUG FIXES
* \#2105 Fix DB Iterator leak, which may leak a go routine.
* [ledger] \#2064 Fix inability to sign and send transactions via the LCD by
loading a Ledger device at runtime.
* \#2158 Fix non-deterministic ordering of validator iteration when slashing in `gov EndBlocker`
* Tendermint
+3
View File
@@ -103,5 +103,8 @@ func tally(ctx sdk.Context, keeper Keeper, proposal Proposal) (passes bool, tall
return true, tallyResults, nonVoting
}
// If more than 1/2 of non-abstaining voters vote No, proposal fails
SortAddresses(nonVoting)
return false, tallyResults, nonVoting
}