pull/239/head
jenya 2 years ago
parent f7aade7c04
commit 080e696af5
  1. 2
      src/api/client.ts

@ -71,7 +71,7 @@ export function getInternalTransactionsByField(params: any[], blockNumber?: stri
// fallback to rpc as we don't keep old records older than 34000000 any more in postgres
if (!blockNumber || +blockNumber < 34000000) {
const queryType = params[1]
if (params[1] !== queryType) {
if (queryType !== 'transaction_hash') {
console.error('use only transaction hash to get internal transactions')
return [] as InternalTransaction[]
}

Loading…
Cancel
Save