mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
fix some missing indentations in main.cpp for better readability
This commit is contained in:
parent
e88f8887b6
commit
b56585d067
1 changed files with 35 additions and 36 deletions
|
@ -2018,7 +2018,6 @@ bool CBlock::AcceptBlock(CDiskBlockPos *dbp)
|
||||||
CBlockIndex* pindexPrev = NULL;
|
CBlockIndex* pindexPrev = NULL;
|
||||||
int nHeight = 0;
|
int nHeight = 0;
|
||||||
if (hash != hashGenesisBlock) {
|
if (hash != hashGenesisBlock) {
|
||||||
|
|
||||||
map<uint256, CBlockIndex*>::iterator mi = mapBlockIndex.find(hashPrevBlock);
|
map<uint256, CBlockIndex*>::iterator mi = mapBlockIndex.find(hashPrevBlock);
|
||||||
if (mi == mapBlockIndex.end())
|
if (mi == mapBlockIndex.end())
|
||||||
return DoS(10, error("AcceptBlock() : prev block not found"));
|
return DoS(10, error("AcceptBlock() : prev block not found"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue