Skip to content

Commit

Permalink
Uplift of #11903 (squashed) to release
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-browser-releases committed Jan 20, 2022
1 parent 9bc6706 commit 5bb1e02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/brave_wallet/browser/swap_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ GURL SwapController::GetPriceQuoteURL(mojom::SwapParamsPtr swap_params,
: base_url_for_test_.spec().c_str());
GURL url(spec);
url = AppendSwapParams(url, *swap_params, chain_id);
// That flag prevents an allowance validation on a swap exchange proxy side.
// We do in clients allowance validation.
url = net::AppendQueryParameter(url, "skipValidation", "true");

return url;
}

Expand Down

0 comments on commit 5bb1e02

Please sign in to comment.