Page MenuHomePhabricator

[refactor] access mapBlockIndex via function in Avalanche code
ClosedPublic

Authored by majcosta on Jul 17 2020, 19:26.

Details

Summary

incoming PR16194 is encapsulating that global within the BlockManager
object, this part of the code is still accessing it directly, so I
changed it to use the function here, as not to make the backport
needlessly more complicated to review

Test Plan
ninja check-avalanche

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable