Update packages/asset-swapper/src/swap_quoter.ts
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com>
This commit is contained in:
@@ -449,7 +449,7 @@ export class SwapQuoter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If an integrator ID was provided, but the ID is not whitelisted, raise a warning and disable RFQ
|
// If an integrator ID was provided, but the ID is not whitelisted, raise a warning and disable RFQ
|
||||||
if (!this._isIntegrationKeyWhitelisted(integrator.integratorId)) {
|
if (!this._isIntegratorIdWhitelisted(integrator.integratorId)) {
|
||||||
if (this._rfqtOptions && this._rfqtOptions.warningLogger) {
|
if (this._rfqtOptions && this._rfqtOptions.warningLogger) {
|
||||||
this._rfqtOptions.warningLogger(
|
this._rfqtOptions.warningLogger(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user