Skip to content

Commit 62fcf70

Browse files
committed
Remove the test value of minJoinTime in storage reward calculation
1 parent 09e243f commit 62fcf70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x/storage/keeper/msg_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ func (k msgServer) SubmitChallengeResponse(goCtx context.Context, msg *types.Msg
547547
activeProviders := k.GetActiveProviders(ctx)
548548

549549
// Consider only providers that have been active for at least 24 hours
550-
minJoinTime := ctx.BlockTime().Add(-24 * time.Second)
550+
minJoinTime := ctx.BlockTime().Add(-24 * time.Hour)
551551
activeProviders = filterProvidersByJoinTime(activeProviders, minJoinTime)
552552

553553
// Update provider rewards

0 commit comments

Comments
 (0)