lib/simple_swap.rb 🔗
@@ -48,7 +48,7 @@ class SimpleSwap
def parse(req)
return req.response["address_from"] if req.response["address_from"]
- raise req.response["message"]
+ raise req.response["message"] || "Error creating address"
end
def req(m, path, query: {}, body: nil)