mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
CAKE-161
This commit is contained in:
@@ -89,8 +89,8 @@ class XMRTOExchangeProvider extends ExchangeProvider {
|
||||
final url = await getApiUri() + _orderCreateUriSufix;
|
||||
final body = {
|
||||
'amount': _request.isBTCRequest
|
||||
? _request.receiveAmount.replaceAll(',', '.')
|
||||
: _request.amount.replaceAll(',', '.'),
|
||||
? _request.receiveAmount
|
||||
: _request.amount,
|
||||
'amount_currency': _request.isBTCRequest
|
||||
? _request.to.toString()
|
||||
: _request.from.toString(),
|
||||
|
||||
Reference in New Issue
Block a user