mirror of
https://github.com/status-im/status-go.git
synced 2025-01-18 02:31:47 +00:00
fix(wallet)_: exclude paraswap providers not supporting partner fees (#5573)
This commit is contained in:
parent
5b36cf8267
commit
0456dcef8b
@ -47,6 +47,8 @@ func (c *ClientV5) FetchPriceRoute(ctx context.Context, srcTokenAddress common.A
|
||||
params.Add("amount", amountWei.String())
|
||||
params.Add("side", string(side))
|
||||
params.Add("partner", c.partnerID)
|
||||
params.Add("excludeContractMethodsWithoutFeeModel", "true")
|
||||
params.Add("excludeDEXS", "AugustusRFQ") // This DEX causes issues when creating the transaction
|
||||
|
||||
url := pricesURL
|
||||
response, err := c.httpClient.DoGetRequest(ctx, url, params)
|
||||
|
Loading…
x
Reference in New Issue
Block a user