HomePhabricator

[avalanche_tests] fix block index accesses

Description

[avalanche_tests] fix block index accesses

Summary: In preparation for D5238: these should be locked, and we don't need [] operator insertion so let's use the usual lookup function.

Test Plan:

CC=clang CXX=clang++ cmake -GNinja .. -DCMAKE_BUILD_TYPE=Debug
ninja check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Mark Lundeberg <markblundeberg@users.noreply.github.com>Authored on Feb 10 2020, 11:51
markblundebergPushed on Feb 10 2020, 15:24
Reviewer
Restricted Project
Differential Revision
D5237: [avalanche_tests] fix block index accesses
Parents
rABC6c4d1feb1ff6: test: Build fuzz targets into seperate executables
Branches
Unknown
Tags
Unknown

Event Timeline

Mark Lundeberg <markblundeberg@users.noreply.github.com> committed rABC72c1315ac8c6: [avalanche_tests] fix block index accesses (authored by Mark Lundeberg <markblundeberg@users.noreply.github.com>).Feb 10 2020, 15:24