mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 12:52:35 -03:00
main.cpp: replace tabs with spaces
Sometimes they sneak in through the 'vi' door
This commit is contained in:
parent
8bff8ac079
commit
ce8c93498a
1 changed files with 5 additions and 5 deletions
10
src/main.cpp
10
src/main.cpp
|
@ -2137,11 +2137,11 @@ bool static AlreadyHave(CTxDB& txdb, const CInv& inv)
|
||||||
{
|
{
|
||||||
case MSG_TX:
|
case MSG_TX:
|
||||||
{
|
{
|
||||||
bool txInMap = false;
|
bool txInMap = false;
|
||||||
{
|
{
|
||||||
LOCK(cs_mapTransactions);
|
LOCK(cs_mapTransactions);
|
||||||
txInMap = (mapTransactions.count(inv.hash) != 0);
|
txInMap = (mapTransactions.count(inv.hash) != 0);
|
||||||
}
|
}
|
||||||
return txInMap ||
|
return txInMap ||
|
||||||
mapOrphanTransactions.count(inv.hash) ||
|
mapOrphanTransactions.count(inv.hash) ||
|
||||||
txdb.ContainsTx(inv.hash);
|
txdb.ContainsTx(inv.hash);
|
||||||
|
@ -2264,7 +2264,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
||||||
static int nAskedForBlocks = 0;
|
static int nAskedForBlocks = 0;
|
||||||
if (!pfrom->fClient &&
|
if (!pfrom->fClient &&
|
||||||
(pfrom->nVersion < NOBLKS_VERSION_START ||
|
(pfrom->nVersion < NOBLKS_VERSION_START ||
|
||||||
pfrom->nVersion >= NOBLKS_VERSION_END) &&
|
pfrom->nVersion >= NOBLKS_VERSION_END) &&
|
||||||
(nAskedForBlocks < 1 || vNodes.size() <= 1))
|
(nAskedForBlocks < 1 || vNodes.size() <= 1))
|
||||||
{
|
{
|
||||||
nAskedForBlocks++;
|
nAskedForBlocks++;
|
||||||
|
|
Loading…
Reference in a new issue