0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-02 09:46:52 -05:00

style: Remove unused whitespace

This commit is contained in:
MarcoFalke 2021-11-01 16:17:56 +01:00
parent 8c0bd871fc
commit faff051560
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
2 changed files with 3 additions and 5 deletions

View file

@ -95,10 +95,8 @@ static bool GetUTXOStats(CCoinsView* view, BlockManager& blockman, CCoinsStats&
assert(pcursor);
if (!pindex) {
{
LOCK(cs_main);
pindex = blockman.LookupBlockIndex(view->GetBestBlock());
}
LOCK(cs_main);
pindex = blockman.LookupBlockIndex(view->GetBestBlock());
}
stats.nHeight = Assert(pindex)->nHeight;
stats.hashBlock = pindex->GetBlockHash();

View file

@ -1242,7 +1242,7 @@ static RPCHelpMan gettxoutsetinfo()
ret.pushKV("hash_serialized_2", stats.hashSerialized.GetHex());
}
if (hash_type == CoinStatsHashType::MUHASH) {
ret.pushKV("muhash", stats.hashSerialized.GetHex());
ret.pushKV("muhash", stats.hashSerialized.GetHex());
}
ret.pushKV("total_amount", ValueFromAmount(stats.nTotalAmount));
if (!stats.index_used) {