Skip to content

Commit dae3758

Browse files
committed
fix: include nakamoto coinbase txs on coinbase txs filter
1 parent bde1037 commit dae3758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/controllers/db-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export function getTxTypeId(typeString: Transaction['tx_type']): DbTxTypeId[] {
168168
case 'poison_microblock':
169169
return [DbTxTypeId.PoisonMicroblock];
170170
case 'coinbase':
171-
return [DbTxTypeId.Coinbase, DbTxTypeId.CoinbaseToAltRecipient];
171+
return [DbTxTypeId.Coinbase, DbTxTypeId.CoinbaseToAltRecipient, DbTxTypeId.NakamotoCoinbase];
172172
case 'tenure_change':
173173
return [DbTxTypeId.TenureChange];
174174
default:

0 commit comments

Comments
 (0)