Skip to content

Commit faff051

Browse files
author
MarcoFalke
committed
style: Remove unused whitespace
1 parent 8c0bd87 commit faff051

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/node/coinstats.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,8 @@ static bool GetUTXOStats(CCoinsView* view, BlockManager& blockman, CCoinsStats&
9595
assert(pcursor);
9696

9797
if (!pindex) {
98-
{
99-
LOCK(cs_main);
100-
pindex = blockman.LookupBlockIndex(view->GetBestBlock());
101-
}
98+
LOCK(cs_main);
99+
pindex = blockman.LookupBlockIndex(view->GetBestBlock());
102100
}
103101
stats.nHeight = Assert(pindex)->nHeight;
104102
stats.hashBlock = pindex->GetBlockHash();

src/rpc/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ static RPCHelpMan gettxoutsetinfo()
12421242
ret.pushKV("hash_serialized_2", stats.hashSerialized.GetHex());
12431243
}
12441244
if (hash_type == CoinStatsHashType::MUHASH) {
1245-
ret.pushKV("muhash", stats.hashSerialized.GetHex());
1245+
ret.pushKV("muhash", stats.hashSerialized.GetHex());
12461246
}
12471247
ret.pushKV("total_amount", ValueFromAmount(stats.nTotalAmount));
12481248
if (!stats.index_used) {

0 commit comments

Comments
 (0)