HomePhabricator

[refactor] access mapBlockIndex via function in Avalanche code

Description

[refactor] access mapBlockIndex via function in Avalanche code

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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6965

Details

Provenance
majcostaAuthored on Jul 17 2020, 19:23
majcostaPushed on Jul 20 2020, 15:52
Reviewer
Restricted Project
Differential Revision
D6965: [refactor] access mapBlockIndex via function in Avalanche code
Parents
rABCbd65ad08d28c: [backport#17357 2/2] tests: Add fuzzing harness for Bech32 encoding/decoding
Branches
Unknown
Tags
Unknown