diff --git a/src/datastore/pg-store.ts b/src/datastore/pg-store.ts index 1641e459d..36a21e1c2 100644 --- a/src/datastore/pg-store.ts +++ b/src/datastore/pg-store.ts @@ -4410,7 +4410,7 @@ export class PgStore extends BasePgStore { SELECT tx_id FROM txs WHERE microblock_canonical = true AND canonical = true - AND block_height = ${block.block_height} AND (type_id = ${DbTxTypeId.Coinbase} OR type_id = ${DbTxTypeId.CoinbaseToAltRecipient}) + AND block_height = ${block.block_height} AND (type_id = ${DbTxTypeId.Coinbase} OR type_id = ${DbTxTypeId.CoinbaseToAltRecipient} OR type_id = ${DbTxTypeId.NakamotoCoinbase}) LIMIT 1 `;