Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip hermes check if we don't have a ln address #1221

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benthecarman
Copy link
Collaborator

Our sentry was getting filled up with logs of people who were getting a log because they don't have a lightning address.

image

@benthecarman benthecarman requested a review from TonyGiorgio June 14, 2024 20:24
Comment on lines +183 to +187

// if we don't have a lightning address, no need to continue
if o.name.is_none() {
break;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something seems strange to me about this code. I think this works, but would it make more sense to have Ok(Some(u)) and Ok(None)? It would probably need to do the same current_address_check_clone stuff but make be more logical to seperate when the user has a name registered and not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants