Add keysend support for Lightning Addresses, specs for address/lnurlp responses #84

Merged
raucao merged 7 commits from feature/ln_address_keysend into master 2023-03-03 13:29:02 +00:00
Showing only changes of commit f2c7aa2f09 - Show all commits

View File

@ -68,7 +68,7 @@ RSpec.describe "/lnurlpay", type: :request do
end
context "amount too low" do
it "retuns an error" do
it "returns an error" do
raucao marked this conversation as resolved Outdated
Outdated
Review

small typo (returns)

small typo (returns)
get lnurlpay_invoice_path(address: "satoshi@kosmos.org", params: {
amount: 5000, comment: "Coffee time!"
})
@ -80,7 +80,7 @@ RSpec.describe "/lnurlpay", type: :request do
end
context "comment too long" do
it "retuns an error" do
it "returns an error" do
raucao marked this conversation as resolved Outdated
Outdated
Review

small typo (returns)

small typo (returns)
get lnurlpay_invoice_path(address: "satoshi@kosmos.org", params: {
amount: 5000000, comment: "Coffee time is the best time, so here's some money for you to get some. May I suggest to sample some Pacamara beans from El Salvador?"
})