stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 667 forks source link

HOTFIX: Check if we are the sortition winner before attempting to mock sign #5164

Closed jferrant closed 2 weeks ago

jferrant commented 2 weeks ago

This wasn't really causing any problems by any means, but this does clean things up a bit. I already have a pull request with the same cherry-picked commit against develop: https://github.com/stacks-network/stacks-core/pull/5163

But if you want this merged as a hotfix to make easier debugging...we definitely could.

Charlie already deployed this on Nakamoto testnet. I assume the base branch would need to change regardless if we decide we want to merge this early as a hotfix.