mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 23:16:51 +00:00
Use string.EqualFold where necessary
This commit is contained in:
@@ -238,7 +238,7 @@ func (e *EXMO) WithdrawCryptocurrency(currency, address, invoice string, amount
|
||||
v.Set("currency", currency)
|
||||
v.Set("address", address)
|
||||
|
||||
if strings.ToUpper(currency) == "XRP" {
|
||||
if strings.EqualFold(currency, "XRP") {
|
||||
v.Set(invoice, invoice)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user