Add LndHub service, lnurl-pay endpoints
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

Enables the lnurl-pay payment workflow
This commit is contained in:
2021-11-22 15:41:05 -06:00
parent 884070a3cb
commit dbc811b840
10 changed files with 158 additions and 23 deletions

View File

@@ -16,7 +16,7 @@ RSpec.describe CreateLndhubWalletJob, type: :job do
perform_enqueued_jobs { job }
expect(WebMock).to have_requested(:post, "http://10.1.1.163:3023/create")
.with { |req| req.body == '{"partnerid":"bluewallet","accounttype":"common"}' }
.with { |req| req.body == '{"partnerid":"kosmos.org","accounttype":"user"}' }
user.reload
expect(user.ln_login).to eq("abc123")