git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge branch '0.4.x' into 0.5.0.x
[novacoin.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
78a7ec3
..
46e3673
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-1959,7
+1959,7
@@
bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
}
// Ask the first connected node for block updates
- static int nAskedForBlocks;
+ static int nAskedForBlocks = 0;
if (!pfrom->fClient &&
(pfrom->nVersion < 32000 || pfrom->nVersion >= 32400) &&
(nAskedForBlocks < 1 || vNodes.size() <= 1))