Rename a test function

This commit is contained in:
teor 2020-10-13 08:28:14 +10:00
parent 74d02a6f08
commit ea284a4d56
1 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,7 @@ async fn check_transcripts() -> Result<(), Report> {
}
#[test]
fn subsidy_is_valid_test() -> Result<(), Report> {
fn subsidy_is_valid_for_historical_blocks() -> Result<(), Report> {
subsidy_is_valid_for_network(Network::Mainnet)?;
subsidy_is_valid_for_network(Network::Testnet)?;
@ -154,6 +154,7 @@ fn subsidy_is_valid_for_network(network: Network) -> Result<(), Report> {
check::subsidy_is_valid(&block, network).expect("subsidies should pass for this block");
}
}
Ok(())
}