Remove a post-Canopy panic in funding stream block subsidy validation

Funding stream block subsidy validation will be implemented as part of
block subsidy validation in #801.
This commit is contained in:
teor 2020-11-24 20:51:30 +10:00 committed by Deirdre Connolly
parent a4af90c2b0
commit 133ebd078a
1 changed files with 3 additions and 1 deletions

View File

@ -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(())