Skip to content

Commit

Permalink
Fixed identation
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-ares authored Nov 15, 2023
1 parent df564df commit 75bd3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenomics/kyc.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (r *repository) validateKYC(ctx context.Context, state *getCurrentMiningSes
}
default:
isAfterDelay := time.Now().Sub(*(*state.KYCStepsLastUpdatedAt)[users.LivenessDetectionKYCStep-1].Time) >= r.cfg.KYC.LivenessDelay
isNetworkDelayAdjusted := time.Now().Sub(*(*state.KYCStepsLastUpdatedAt)[users.LivenessDetectionKYCStep-1].Time) >= r.cfg.MiningSessionDuration.Min
isNetworkDelayAdjusted := time.Now().Sub(*(*state.KYCStepsLastUpdatedAt)[users.LivenessDetectionKYCStep-1].Time) >= r.cfg.MiningSessionDuration.Min
var isReservedForToday bool
if r.cfg.KYC.LivenessDelay > r.cfg.MiningSessionDuration.Max {
isReservedForToday = int64((time.Now().Sub(*r.livenessLoadDistributionStartDate.Time)%r.cfg.KYC.LivenessDelay)/r.cfg.MiningSessionDuration.Max) == state.ID%int64(r.cfg.KYC.LivenessDelay/r.cfg.MiningSessionDuration.Max) //nolint:lll // .
Expand Down

0 comments on commit 75bd3ad

Please sign in to comment.