Closed ermalkaleci closed 11 months ago
some description and tests will be good
we're removing blocks from #blocksByNumber but not from #blocksByHash, so block had still a strong reference. Also parent block was a strong reference keeping block in memory. This PR is addressing those issues
#blocksByNumber
#blocksByHash
we're removing blocks from
#blocksByNumber
but not from#blocksByHash
, so block had still a strong reference. Also parent block was a strong reference keeping block in memory. This PR is addressing those issues