diff --git a/lib/simple_swap.rb b/lib/simple_swap.rb index 11e852535f32878ccfbbbc458246705a4acfb2cd..cb1bc72d63f4a47bbe290f66996cfd10104df9d5 100644 --- a/lib/simple_swap.rb +++ b/lib/simple_swap.rb @@ -39,7 +39,7 @@ class SimpleSwap fixed: false, currency_from: currency, currency_to: "btc", - amount: currency == "xmr" ? 0.1 : 0.01, + amount: currency.downcase == "xmr" ? 0.1 : 0.01, address_to: target }.to_json ).then(&method(:parse))