aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2012-04-17 12:31:51 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-04-17 12:31:51 -0400
commitce8c93498ab0b5b98f333b0ebb6e8c0097293ab9 (patch)
treebfdfe809dc9cd73b9eca6606e3b14101aa4c5225 /src/main.cpp
parent8bff8ac079cd79757c398cf61ab29d62fe4e2d65 (diff)
downloadbitcoin-ce8c93498ab0b5b98f333b0ebb6e8c0097293ab9.tar.xz
main.cpp: replace tabs with spaces
Sometimes they sneak in through the 'vi' door
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5b5062cc05..304204f61e 100644
--- a/src/main.cpp
+++ b/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++;