From e7281c57c65413b5919838dbbe30f3eee74ad8d4 Mon Sep 17 00:00:00 2001 From: Fangyu Gai Date: Fri, 23 Aug 2024 19:01:43 +0800 Subject: [PATCH] change istimestamped to true --- x/btcstaking/keeper/power_dist_change.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/btcstaking/keeper/power_dist_change.go b/x/btcstaking/keeper/power_dist_change.go index 2b42b1742..b0104bab4 100644 --- a/x/btcstaking/keeper/power_dist_change.go +++ b/x/btcstaking/keeper/power_dist_change.go @@ -241,7 +241,7 @@ func (k Keeper) ProcessAllPowerDistUpdateEvents( // TODO calling HasTimestampedPubRand potentially iterates // all the pub rand committed by the fp, which might slow down // the process, need optimization - fp.IsTimestamped = k.FinalityKeeper.HasTimestampedPubRand(ctx, fp.BtcPk, height) + fp.IsTimestamped = true } // filter out the top N finality providers and their total voting power, and