diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-05-07 16:35:36 +0100 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-30 16:38:29 +0200 |
commit | e4e8186ab41c897b8a849dba25ae44475fe60550 (patch) | |
tree | 90f5daa6d64532475c7ee546f5ce9435edd03cf4 | |
parent | 8779adbdda7658d109556d2e3397e59869a4532a (diff) |
refactor: Explicitly convert atomic<int> to int
-rw-r--r-- | src/rpc/blockchain.cpp | 2 |
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; |