refactor: Explicitly convert atomic<int> to int

This commit is contained in:
João Barbosa 2019-05-07 16:35:36 +01:00 committed by MacroFake
parent 8779adbdda
commit e4e8186ab4

View file

@ -2085,7 +2085,7 @@ static RPCHelpMan scantxoutset()
// no scan in progress
return NullUniValue;
}
result.pushKV("progress", g_scan_progress);
result.pushKV("progress", g_scan_progress.load());
return result;
} else if (request.params[0].get_str() == "abort") {
CoinsViewScanReserver reserver;