From 54a21ba0c2b0819b02e732d93792654df415e328 Mon Sep 17 00:00:00 2001 From: yihuang Date: Thu, 29 Feb 2024 14:42:51 +0800 Subject: [PATCH] Update app/forks.go Signed-off-by: yihuang --- app/forks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/forks.go b/app/forks.go index ab082df56..2cd2574aa 100644 --- a/app/forks.go +++ b/app/forks.go @@ -11,5 +11,5 @@ var SlashingForkHeights = map[string]int64{ } func SlashingForkEnabled(ctx sdk.Context) bool { - return SlashingForkHeights[ctx.ChainID()] >= ctx.BlockHeight() + return ctx.BlockHeight() >= SlashingForkHeights[ctx.ChainID()] }