diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-11-01 16:17:56 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-12-17 10:39:39 +0100 |
commit | faff051560552d4405896e01920a18f698155a56 (patch) | |
tree | 1343cc6f4022be949f383f400e3ba1e71c6fa244 /src/node/coinstats.cpp | |
parent | 8c0bd871fcf6c5ff5851ccb18a7bc7554a0484b0 (diff) | |
download | bitcoin-faff051560552d4405896e01920a18f698155a56.tar.xz |
style: Remove unused whitespace
Diffstat (limited to 'src/node/coinstats.cpp')
-rw-r--r-- | src/node/coinstats.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/node/coinstats.cpp b/src/node/coinstats.cpp index 67e497c218..639a579172 100644 --- a/src/node/coinstats.cpp +++ b/src/node/coinstats.cpp @@ -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(); |