Upgrade to tm version 23.0. (#1927)
* Start upgrade. Currently go test ./... hangs. * (squash this) Fix staking tests * wip * note what changes need to be made to make this work on tm v0.23.0 * Fix addr -> pubkey map * cleanup code * Fix slashing test failures except for begin blocker * fix all slashing tests * fix lcd tests * Address PR comments * add link to changelog. * (wip) start making addrToPubkey map persisted. Since amino can't handle maps, we have to change from what this commit is doing. * Use the correct method of storing a map * (squash this) address PR comments * Did you run 'make'? * remove gaiadebug binary
This commit is contained in:
@@ -39,7 +39,7 @@ func handleMsgUnrevoke(ctx sdk.Context, msg MsgUnrevoke, k Keeper) sdk.Result {
|
||||
}
|
||||
|
||||
// Cannot be unrevoked until out of jail
|
||||
if ctx.BlockHeader().Time < info.JailedUntil {
|
||||
if ctx.BlockHeader().Time.Before(info.JailedUntil) {
|
||||
return ErrValidatorJailed(k.codespace).Result()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user