style: Remove unused whitespace
This commit is contained in:
2 files changed
+3
-5
No files matched your search
@@ -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