Update packages/asset-swapper/src/swap_quoter.ts

Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com>
This commit is contained in:
Daniel Pyrathon
2021-09-13 17:11:57 -04:00
committed by GitHub
parent 5997ce3ca3
commit 44fe9159aa

View File

@@ -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 (!this._isIntegrationKeyWhitelisted(integrator.integratorId)) {
if (!this._isIntegratorIdWhitelisted(integrator.integratorId)) {
if (this._rfqtOptions && this._rfqtOptions.warningLogger) {
this._rfqtOptions.warningLogger(
{