mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-19 05:45:05 +01:00
rpc/blockchain: Use existing blockman in gettxoutsetinfo
Was missed in last bundle
This commit is contained in:
parent
7d19c85f4a
commit
fc1c282845
@ -1196,7 +1196,7 @@ static RPCHelpMan gettxoutsetinfo()
|
||||
CCoinsStats prev_stats{hash_type};
|
||||
|
||||
if (pindex->nHeight > 0) {
|
||||
GetUTXOStats(coins_view, WITH_LOCK(::cs_main, return std::ref(g_chainman.m_blockman)), prev_stats, node.rpc_interruption_point, pindex->pprev);
|
||||
GetUTXOStats(coins_view, *blockman, prev_stats, node.rpc_interruption_point, pindex->pprev);
|
||||
}
|
||||
|
||||
UniValue block_info(UniValue::VOBJ);
|
||||
|
Loading…
Reference in New Issue
Block a user