rpc/blockchain: Use existing blockman in gettxoutsetinfo

Was missed in last bundle
This commit is contained in:
Carl Dong 2021-05-05 14:07:52 -04:00
parent 7d19c85f4a
commit fc1c282845

View File

@ -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);