Page MenuHomePhabricator

[avalanche] Make sure we keep the read lock when reading from VoteRecord
ClosedPublic

Authored by deadalnix on Feb 1 2019, 02:21.

Details

Summary

At least two function read from VoteRecord after releasing the read lock from vote_records, which is incorrect.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix created this revision.Feb 1 2019, 02:21
Herald added a reviewer: Restricted Project. · View Herald TranscriptFeb 1 2019, 02:21
Herald added a subscriber: schancel. · View Herald Transcript
jasonbcox accepted this revision.Feb 3 2019, 17:02
This revision is now accepted and ready to land.Feb 3 2019, 17:02
This revision was automatically updated to reflect the committed changes.