Page MenuHomePhabricator

[avalanche] refactor getInvsForNextPoll to limit the scope of cs_main
ClosedPublic

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

Details

Summary

It's a good idea to limit the scope over which you hold cs_main.

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:35
Herald added a reviewer: Restricted Project. · View Herald TranscriptFeb 1 2019, 02:35
Herald added a subscriber: schancel. · View Herald Transcript
jasonbcox accepted this revision.Feb 3 2019, 17:04
This revision is now accepted and ready to land.Feb 3 2019, 17:04
This revision was automatically updated to reflect the committed changes.