diff --git a/app/controllers/lnurlpay_controller.rb b/app/controllers/lnurlpay_controller.rb index 9d192e6..f042919 100644 --- a/app/controllers/lnurlpay_controller.rb +++ b/app/controllers/lnurlpay_controller.rb @@ -54,7 +54,7 @@ class LnurlpayController < ApplicationController end def valid_amount?(amount_in_sats) - amount_sats <= MAX_SATS && amount_in_sats >= MIN_SATS + amount_in_sats <= MAX_SATS && amount_in_sats >= MIN_SATS end end