Skip to content

Commit 2370799

Browse files
authored
fix(rosetta): add support for Nakamoto coinbase for unlock events (#2162)
1 parent f0176a0 commit 2370799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datastore/pg-store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4410,7 +4410,7 @@ export class PgStore extends BasePgStore {
44104410
SELECT tx_id
44114411
FROM txs
44124412
WHERE microblock_canonical = true AND canonical = true
4413-
AND block_height = ${block.block_height} AND (type_id = ${DbTxTypeId.Coinbase} OR type_id = ${DbTxTypeId.CoinbaseToAltRecipient})
4413+
AND block_height = ${block.block_height} AND (type_id = ${DbTxTypeId.Coinbase} OR type_id = ${DbTxTypeId.CoinbaseToAltRecipient} OR type_id = ${DbTxTypeId.NakamotoCoinbase})
44144414
LIMIT 1
44154415
`;
44164416

0 commit comments

Comments
 (0)