Skip to content

Commit

Permalink
Update zebra-consensus/src/transaction/check.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Arya <[email protected]>
  • Loading branch information
upbqdn and arya2 authored Jan 14, 2025
1 parent ce620d0 commit 62d2471
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions zebra-consensus/src/transaction/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,6 @@ pub fn coinbase_outputs_are_decryptable(
network: &Network,
height: Height,
) -> Result<(), TransactionError> {
if !transaction.is_coinbase() {
return Ok(());
}

// The consensus rule only applies to Heartwood onward.
if height
< NetworkUpgrade::Heartwood
Expand Down

0 comments on commit 62d2471

Please sign in to comment.