Skip to content

Commit fc1c282

Browse files
committed
rpc/blockchain: Use existing blockman in gettxoutsetinfo
Was missed in last bundle
1 parent 7d19c85 commit fc1c282

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
@@ -1196,7 +1196,7 @@ static RPCHelpMan gettxoutsetinfo()
11961196
CCoinsStats prev_stats{hash_type};
11971197

11981198
if (pindex->nHeight > 0) {
1199-
GetUTXOStats(coins_view, WITH_LOCK(::cs_main, return std::ref(g_chainman.m_blockman)), prev_stats, node.rpc_interruption_point, pindex->pprev);
1199+
GetUTXOStats(coins_view, *blockman, prev_stats, node.rpc_interruption_point, pindex->pprev);
12001200
}
12011201

12021202
UniValue block_info(UniValue::VOBJ);

0 commit comments

Comments
 (0)