Skip to content

fix: recycle treasury emissions when UID 111 is not registered#382

Open
Grizouforever wants to merge 1 commit intoentrius:testfrom
Grizouforever:fix/clean-treasury-recycle
Open

fix: recycle treasury emissions when UID 111 is not registered#382
Grizouforever wants to merge 1 commit intoentrius:testfrom
Grizouforever:fix/clean-treasury-recycle

Conversation

@Grizouforever
Copy link
Copy Markdown

Summary

  • Add else: recycle_extra += ISSUES_TREASURY_EMISSION_SHARE after the treasury allocation block in forward.py
  • When ISSUES_TREASURY_UID is not present in the active miner set, the 15% treasury emission share was silently dropped; it now flows to the recycle pool

Related Issues

Fixes #370

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other

Testing

  • Tests added/updated
  • Manually tested

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Changes are documented (if applicable)

cc @anderdc @LandynDev for review

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.
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.

Bug: Treasury emissions silently lost when UID 111 is not registered

1 participant