mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix for #246. Removed sync() to prevent race condition within dropped() and . Raised maxblocks to 64.
This commit is contained in:
parent
f2524f5578
commit
5da1e452ed
2
peer.cpp
2
peer.cpp
@ -57,7 +57,7 @@ int peerTest(int argc, char** argv)
|
|||||||
for (int i = 0; ; ++i)
|
for (int i = 0; ; ++i)
|
||||||
{
|
{
|
||||||
this_thread::sleep_for(chrono::milliseconds(100));
|
this_thread::sleep_for(chrono::milliseconds(100));
|
||||||
pn.sync();
|
// pn.sync();
|
||||||
if (!(i % 10))
|
if (!(i % 10))
|
||||||
pn.pingAll();
|
pn.pingAll();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user