Page MenuHomePhabricator

[avalanche] Eliminate taking unnecessary locks on cs_stakingRewards when getting stake contender status
ClosedPublic

Authored by roqqit on Thu, Jan 30, 17:11.

Details

Summary

It is unnecessary to take a lock on cs_stakingRewards unless there is a cache hit. There is no change in behavior.

Test Plan
ninja check-avalanche

Diff Detail

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