Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Fix some memory leaks for validators #1800

Merged
merged 1 commit into from
Aug 17, 2022
Merged

Conversation

Vagabond
Copy link
Contributor

No description provided.

@@ -686,6 +686,7 @@ select_transactions(Chain, Txns, {ElectionEpoch0, EpochStart0}, BlockHeightCurr,
_ -> blockchain_txn_rewards_v1
end,
{ok, Rewards} = RewardsMod:calculate_rewards(Start, End, Chain),
blockchain_hex:destroy_memoization(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how this got deleted! I wonder what the impact in ETL will be.

@evanmcc evanmcc merged commit 0b54f3c into master Aug 17, 2022
@evanmcc evanmcc deleted the adt/validator-memory-leaks branch August 17, 2022 21:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants