diff --git a/helpers/flipsidecrypto.ts b/helpers/flipsidecrypto.ts index 29074fbc0f..0f170fd365 100644 --- a/helpers/flipsidecrypto.ts +++ b/helpers/flipsidecrypto.ts @@ -43,7 +43,7 @@ export async function queryFlipside(sqlQuery: string) { throw query?.data.error.message } } catch(e:any){ - if(e?.response?.statusText === 'Payment Required' || (e?.startsWith && e?.startsWith('RpcMaxConcurrentQueries'))){ + if(e?.response?.statusText === 'Payment Required'){ if(API_KEY_INDEX < (FLIPSIDE_API_KEYS.length-1)){ const nextIndex = FLIPSIDE_API_KEYS.findIndex(k=>k===FLIPSIDE_API_KEY) + 1 if(API_KEY_INDEX < nextIndex){