mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-26 08:51:55 +02: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};
|
CCoinsStats prev_stats{hash_type};
|
||||||
|
|
||||||
if (pindex->nHeight > 0) {
|
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);
|
UniValue block_info(UniValue::VOBJ);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user