aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2016-12-31 02:05:05 -0500
committerCory Fields <[email protected]>2017-01-04 09:29:14 -0500
commit53ad9a133a53feb35e31698720cec69c14f56dc1 (patch)
tree4bd8689feeced78e4a8166a7553dda1f361b7662
parentMerge #9467: [Trivial] [Doc] Install Protobuf v3 on OS X (diff)
downloaddiscoin-53ad9a133a53feb35e31698720cec69c14f56dc1.tar.xz
discoin-53ad9a133a53feb35e31698720cec69c14f56dc1.zip
net: fix typo causing the wrong receive buffer size
Surprisingly this hasn't been causing me any issues while testing, probably because it requires lots of large blocks to be flying around. Send/Recv corks need tests!
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index bf2beb774..e7c7cf011 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2102,7 +2102,7 @@ bool CConnman::Start(CScheduler& scheduler, std::string& strNodeError, Options c
nMaxFeeler = connOptions.nMaxFeeler;
nSendBufferMaxSize = connOptions.nSendBufferMaxSize;
- nReceiveFloodSize = connOptions.nSendBufferMaxSize;
+ nReceiveFloodSize = connOptions.nReceiveFloodSize;
nMaxOutboundLimit = connOptions.nMaxOutboundLimit;
nMaxOutboundTimeframe = connOptions.nMaxOutboundTimeframe;