Add LndHub wallets #33
@@ -19,7 +19,6 @@ class LnurlpayController < ApplicationController
|
||||
|
||||
validate_amount(amount)
|
||||
|
||||
# amount = amount / 1000 # we need sats
|
||||
payment_request = @user.ln_create_invoice({
|
||||
amount: amount,
|
||||
|
|
||||
description_hash: Digest::SHA2.hexdigest(metadata(address))
|
||||
|
||||
Reference in New Issue
Block a user
this must be
amount/1000- amount is in msats but we create invoices for sats.