aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-05-07 16:35:36 +0100
committerMacroFake <falke.marco@gmail.com>2022-05-30 16:38:29 +0200
commite4e8186ab41c897b8a849dba25ae44475fe60550 (patch)
tree90f5daa6d64532475c7ee546f5ce9435edd03cf4 /src
parent8779adbdda7658d109556d2e3397e59869a4532a (diff)
refactor: Explicitly convert atomic<int> to int
Diffstat (limited to 'src')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index 03354f39f6..f2186c131f 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -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;