Skip to content

Commit e4e8186

Browse files
promagMacroFake
authored andcommitted
refactor: Explicitly convert atomic<int> to int
1 parent 8779adb commit e4e8186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ static RPCHelpMan scantxoutset()
20852085
// no scan in progress
20862086
return NullUniValue;
20872087
}
2088-
result.pushKV("progress", g_scan_progress);
2088+
result.pushKV("progress", g_scan_progress.load());
20892089
return result;
20902090
} else if (request.params[0].get_str() == "abort") {
20912091
CoinsViewScanReserver reserver;

0 commit comments

Comments
 (0)