Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants