Skip to content

Commit

Permalink
change istimestamped to true
Browse files Browse the repository at this point in the history
  • Loading branch information
gitferry committed Aug 23, 2024
1 parent 439bb01 commit e7281c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/btcstaking/keeper/power_dist_change.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7281c5

Please sign in to comment.