Skip to content

Commit

Permalink
linter fix (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-cronus authored Jul 5, 2024
1 parent 7b91ef4 commit b9792c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kyc/face/face.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ func (c *client) CheckStatus(ctx context.Context, user *users.User, nextKYCStep
return false, nil
}
}
if hasResult || (!user.LastMiningStartedAt.IsNil() && user.LastMiningStartedAt.After(*now.Time)) { // User canceled and started mining when there were no slots.
if hasResult || (!user.LastMiningStartedAt.IsNil() && user.LastMiningStartedAt.After(*now.Time)) {
// User canceled and started mining when there were no slots.
if dErr := c.deleteUserForwarded(ctx, user.ID); dErr != nil {
return false, errors.Wrapf(err, "failed to delete user forwarded to face kyc for user id %v", user.ID)
}
Expand Down

0 comments on commit b9792c5

Please sign in to comment.