Merge PR #2159: fix the gov/slash error
This commit is contained in:
parent
24c7cb03d3
commit
fd8c1e5253
|
@ -86,5 +86,6 @@ BUG FIXES
|
||||||
* \#2105 Fix DB Iterator leak, which may leak a go routine.
|
* \#2105 Fix DB Iterator leak, which may leak a go routine.
|
||||||
* [ledger] \#2064 Fix inability to sign and send transactions via the LCD by
|
* [ledger] \#2064 Fix inability to sign and send transactions via the LCD by
|
||||||
loading a Ledger device at runtime.
|
loading a Ledger device at runtime.
|
||||||
|
* \#2158 Fix non-deterministic ordering of validator iteration when slashing in `gov EndBlocker`
|
||||||
|
|
||||||
* Tendermint
|
* Tendermint
|
||||||
|
|
|
@ -103,5 +103,8 @@ func tally(ctx sdk.Context, keeper Keeper, proposal Proposal) (passes bool, tall
|
||||||
return true, tallyResults, nonVoting
|
return true, tallyResults, nonVoting
|
||||||
}
|
}
|
||||||
// If more than 1/2 of non-abstaining voters vote No, proposal fails
|
// If more than 1/2 of non-abstaining voters vote No, proposal fails
|
||||||
|
|
||||||
|
SortAddresses(nonVoting)
|
||||||
|
|
||||||
return false, tallyResults, nonVoting
|
return false, tallyResults, nonVoting
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue