Skip to content

Commit

Permalink
Remove a post-Canopy panic in funding stream block subsidy validation
Browse files Browse the repository at this point in the history
Funding stream block subsidy validation will be implemented as part of
block subsidy validation in ZcashFoundation#801.
  • Loading branch information
teor2345 committed Nov 24, 2020
1 parent 8d6ac8e commit fc230e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zebra-consensus/src/block/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ pub fn subsidy_is_valid(block: &Block, network: Network) -> Result<(), BlockErro
// Funding streams are paid from Canopy activation to the second halving
// Note: Canopy activation is at the first halving on mainnet, but not on testnet
// ZIP-1014 only applies to mainnet, ZIP-214 contains the specific rules for testnet
unimplemented!("funding stream block subsidy validation is not implemented")
tracing::trace!("funding stream block subsidy validation is not implemented");
// Return ok for now
Ok(())
} else {
// Future halving, with no founders reward or funding streams
Ok(())
Expand Down

0 comments on commit fc230e1

Please sign in to comment.