Skip to content

Commit

Permalink
chore: indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jan 24, 2024
1 parent dba4eb2 commit c41b73d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ func ToUrl(identifier string) (string, string, string, error) {
lnurlpUrl := fmt.Sprintf("https://%s/.well-known/lnurlp/%s", parts[1], parts[0])
nostrUrl := fmt.Sprintf("https://%s/.well-known/nostr.json?name=%s", parts[1], parts[0])

urlPrefix := "https://getalby.com"
replacement := "http://alby-mainnet-getalbycom"
urlPrefix := "https://getalby.com"
replacement := "http://alby-mainnet-getalbycom"

keysendUrl = strings.Replace(keysendUrl, urlPrefix, replacement, 1)
lnurlpUrl = strings.Replace(lnurlpUrl, urlPrefix, replacement, 1)
nostrUrl = strings.Replace(nostrUrl, urlPrefix, replacement, 1)
keysendUrl = strings.Replace(keysendUrl, urlPrefix, replacement, 1)
lnurlpUrl = strings.Replace(lnurlpUrl, urlPrefix, replacement, 1)
nostrUrl = strings.Replace(nostrUrl, urlPrefix, replacement, 1)

return lnurlpUrl, keysendUrl, nostrUrl, nil
}
Expand Down

0 comments on commit c41b73d

Please sign in to comment.