Skip to content

Commit

Permalink
fix: Shadowed declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
red-0ne committed Oct 11, 2024
1 parent 43f60de commit e8b6a2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func TestComputeNewDifficultyHash_RewardsReflectWorkCompleted(t *testing.T) {
sessionEndHeight := session.GetHeader().GetSessionEndBlockHeight()
claimExpirationHeight := sessionEndHeight + int64(sessionEndToProofWindowCloseBlocks) + 1

sdkCtx := sdkCtx.WithBlockHeight(claimExpirationHeight)
sdkCtx = sdkCtx.WithBlockHeight(claimExpirationHeight)

// Get the relay mining difficulty that will be used when settling the pending claims.
relayMiningDifficulty, ok := keepers.ServiceKeeper.GetRelayMiningDifficulty(sdkCtx, service.Id)
Expand Down

0 comments on commit e8b6a2d

Please sign in to comment.