mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 22:43:34 +08:00
fix: ignore out of order attachments failing to resolve tx data (#935)
This commit is contained in:
@@ -4273,11 +4273,11 @@ export class PgDataStore
|
||||
]
|
||||
);
|
||||
if (txQuery.rowCount === 0) {
|
||||
throw new Error(
|
||||
`Could not find tx index for subdomain entry: ${JSON.stringify(subdomain)}`
|
||||
);
|
||||
logger.warn(`Could not find tx index for subdomain entry: ${JSON.stringify(subdomain)}`);
|
||||
txIndex = 0;
|
||||
} else {
|
||||
txIndex = txQuery.rows[0].tx_index;
|
||||
}
|
||||
txIndex = txQuery.rows[0].tx_index;
|
||||
}
|
||||
// preparing bns values for insertion
|
||||
values.push(
|
||||
|
||||
Reference in New Issue
Block a user