Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

main.cpp: replace tabs with spaces

Sometimes they sneak in through the 'vi' door
  • Loading branch information...
commit ce8c93498ab0b5b98f333b0ebb6e8c0097293ab9 1 parent 8bff8ac
Jeff Garzik authored Jeff Garzik committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/main.cpp
View
10 src/main.cpp
@@ -2137,11 +2137,11 @@ bool static AlreadyHave(CTxDB& txdb, const CInv& inv)
{
case MSG_TX:
{
- bool txInMap = false;
- {
+ bool txInMap = false;
+ {
LOCK(cs_mapTransactions);
- txInMap = (mapTransactions.count(inv.hash) != 0);
- }
+ txInMap = (mapTransactions.count(inv.hash) != 0);
+ }
return txInMap ||
mapOrphanTransactions.count(inv.hash) ||
txdb.ContainsTx(inv.hash);
@@ -2264,7 +2264,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
static int nAskedForBlocks = 0;
if (!pfrom->fClient &&
(pfrom->nVersion < NOBLKS_VERSION_START ||
- pfrom->nVersion >= NOBLKS_VERSION_END) &&
+ pfrom->nVersion >= NOBLKS_VERSION_END) &&
(nAskedForBlocks < 1 || vNodes.size() <= 1))
{
nAskedForBlocks++;
Please sign in to comment.
Something went wrong with that request. Please try again.