aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorRuben de Vries <ruben@rubensayshi.com>2015-03-24 14:29:13 +0100
committerRuben de Vries <ruben@rubensayshi.com>2015-03-24 14:53:16 +0100
commitfc720207e0e513e531b1f266b966a2ffa57b936a (patch)
tree5a052f2dfb5d07cec3c948ca57e3b5c9d8fc0312 /src/net.cpp
parent2afd919f212e8499d5549e29ac9b8a2d825873d9 (diff)
don't trickle for whitelisted nodes
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 0723ee218a..11c2cd07d9 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1406,7 +1406,7 @@ void ThreadMessageHandler()
{
TRY_LOCK(pnode->cs_vSend, lockSend);
if (lockSend)
- g_signals.SendMessages(pnode, pnode == pnodeTrickle);
+ g_signals.SendMessages(pnode, pnode == pnodeTrickle || pnode->fWhitelisted);
}
boost::this_thread::interruption_point();
}