mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
refactor: Explicitly convert atomic<int> to int
This commit is contained in:
parent
8779adbdda
commit
e4e8186ab4
1 changed files with 1 additions and 1 deletions
|
@ -2085,7 +2085,7 @@ static RPCHelpMan scantxoutset()
|
||||||
// no scan in progress
|
// no scan in progress
|
||||||
return NullUniValue;
|
return NullUniValue;
|
||||||
}
|
}
|
||||||
result.pushKV("progress", g_scan_progress);
|
result.pushKV("progress", g_scan_progress.load());
|
||||||
return result;
|
return result;
|
||||||
} else if (request.params[0].get_str() == "abort") {
|
} else if (request.params[0].get_str() == "abort") {
|
||||||
CoinsViewScanReserver reserver;
|
CoinsViewScanReserver reserver;
|
||||||
|
|
Loading…
Add table
Reference in a new issue