From ec706080b28b6018f771b554b63f5e5768b29f3e Mon Sep 17 00:00:00 2001 From: Test User Date: Sat, 11 Apr 2026 22:11:35 +0200 Subject: [PATCH] fix: recycle treasury emissions when UID 111 is not registered When ISSUES_TREASURY_UID is not present in the active miner set, the 15% treasury emission share was silently dropped. Add an else branch to accumulate it into recycle_extra so emissions are not lost. --- gittensor/validator/forward.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gittensor/validator/forward.py b/gittensor/validator/forward.py index 0e456042..5731c6cc 100644 --- a/gittensor/validator/forward.py +++ b/gittensor/validator/forward.py @@ -174,6 +174,8 @@ def blend_emission_pools( f'Treasury allocation: UID {ISSUES_TREASURY_UID} receives ' f'{ISSUES_TREASURY_EMISSION_SHARE * 100:.0f}% of emissions' ) + else: + recycle_extra += ISSUES_TREASURY_EMISSION_SHARE # Pool 4: Recycle (25% + unclaimed from empty pools) if RECYCLE_UID in miner_uids: