mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-21 15:22:53 +02:00
style: Remove unused whitespace
This commit is contained in:
@ -95,10 +95,8 @@ static bool GetUTXOStats(CCoinsView* view, BlockManager& blockman, CCoinsStats&
|
|||||||
assert(pcursor);
|
assert(pcursor);
|
||||||
|
|
||||||
if (!pindex) {
|
if (!pindex) {
|
||||||
{
|
LOCK(cs_main);
|
||||||
LOCK(cs_main);
|
pindex = blockman.LookupBlockIndex(view->GetBestBlock());
|
||||||
pindex = blockman.LookupBlockIndex(view->GetBestBlock());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
stats.nHeight = Assert(pindex)->nHeight;
|
stats.nHeight = Assert(pindex)->nHeight;
|
||||||
stats.hashBlock = pindex->GetBlockHash();
|
stats.hashBlock = pindex->GetBlockHash();
|
||||||
|
@ -1242,7 +1242,7 @@ static RPCHelpMan gettxoutsetinfo()
|
|||||||
ret.pushKV("hash_serialized_2", stats.hashSerialized.GetHex());
|
ret.pushKV("hash_serialized_2", stats.hashSerialized.GetHex());
|
||||||
}
|
}
|
||||||
if (hash_type == CoinStatsHashType::MUHASH) {
|
if (hash_type == CoinStatsHashType::MUHASH) {
|
||||||
ret.pushKV("muhash", stats.hashSerialized.GetHex());
|
ret.pushKV("muhash", stats.hashSerialized.GetHex());
|
||||||
}
|
}
|
||||||
ret.pushKV("total_amount", ValueFromAmount(stats.nTotalAmount));
|
ret.pushKV("total_amount", ValueFromAmount(stats.nTotalAmount));
|
||||||
if (!stats.index_used) {
|
if (!stats.index_used) {
|
||||||
|
Reference in New Issue
Block a user