Skip to content

Commit

Permalink
skips checking mempool for coinbase transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Oct 19, 2024
1 parent 837c077 commit cb4efc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-consensus/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ where
req: &Request,
mempool: Option<Timeout<Mempool>>,
) -> Option<Result<VerifiedUnminedTx, TransactionError>> {
if req.is_mempool() {
if req.is_mempool() || req.transaction().is_coinbase() {
return None;
}

Expand Down

0 comments on commit cb4efc3

Please sign in to comment.