Skip to content

Commit

Permalink
fix: change bitor for logical one (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsunsi committed Dec 4, 2023
1 parent 1e97d24 commit bbbfd79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub mod withdrawal_request;
///
/// Returns error in case `s` cannot be understood.
pub fn resolve(s: &str) -> Result<url::Url, &'static str> {
if s.starts_with("lnurl1") | s.starts_with("LNURL1") {
if s.starts_with("lnurl1") || s.starts_with("LNURL1") {
resolve_bech32(s)
} else if s.starts_with("lnurl") || s.starts_with("keyauth") {
resolve_scheme(s)
Expand Down

0 comments on commit bbbfd79

Please sign in to comment.