aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/wallettests.cpp
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-12 18:03:25 +0200
committerMacroFake <falke.marco@gmail.com>2022-08-16 17:26:28 +0200
commitfac15ff673f0d6f84ea1eaae855597da02b0e510 (patch)
tree69a7f021faf5c107fb86951501d8e7bf0780591e /src/qt/test/wallettests.cpp
parentfa97a528d6382a0163d5aa7d37ecbf93579b8186 (diff)
Fix logical race in rest_getutxos
Calling ActiveHeight() and ActiveTip() subsequently without holding the ::cs_main lock over both calls may result in a height that does not correspond to the tip due to a race. Fix this by holding the lock.
Diffstat (limited to 'src/qt/test/wallettests.cpp')
0 files changed, 0 insertions, 0 deletions