Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): cleanup duplicate maturity check #4181

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jun 10, 2022

Description

Clean up duplicate maturity check introduced in #4168

Motivation and Context

In PR #4168 I renamedcheck_coinbase_reward to check_coinbase but then decided that since check_coinbase doesn't fully check the coinbase, to split the checks into check_coinbase_reward and check_coinbase_maturity - however I forgot to take the code out of check_coinbase_reward.

Duplicated code

How Has This Been Tested?

More tests are needed

@aviator-app aviator-app bot merged commit 5e55bf2 into tari-project:development Jun 10, 2022
@sdbondi sdbondi deleted the core-validator-remove-extra-check branch June 10, 2022 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants