diff options
| author | Gavin Andresen <[email protected]> | 2011-12-19 19:04:47 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-12-19 19:10:34 -0500 |
| commit | 9ef7fa344741cb34ba4e15cff06d61d1c7a74e24 (patch) | |
| tree | 254f76dfa15c36a359e661caa1b4cfd158e204f4 /src/main.cpp | |
| parent | Use std::numeric_limits<> for typesafe INT_MAX/etc (diff) | |
| download | discoin-9ef7fa344741cb34ba4e15cff06d61d1c7a74e24.tar.xz discoin-9ef7fa344741cb34ba4e15cff06d61d1c7a74e24.zip | |
Code cleanup: use ECDSA_size() instead of fixed 10,000 byte sig buffer, and explicity init static var
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 09f821b12..e2f3cc9f8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1875,7 +1875,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)) |