Compare commits
2 Commits
ac8552362c
...
8e64a7cf78
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e64a7cf78 | |||
|
8b5bd66598
|
@@ -20,7 +20,7 @@ class LnurlpayController < ApplicationController
|
||||
validate_amount(amount)
|
||||
|
||||
payment_request = @user.ln_create_invoice({
|
||||
amount: amount,
|
||||
amount: amount / 1000, # we create invoices in sats
|
||||
description_hash: Digest::SHA2.hexdigest(metadata(address))
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user