Skip to content

Commit d2d71ba

Browse files
theuniFuzzbawls
authored andcommitted
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!
1 parent 50bb09d commit d2d71ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@ bool CConnman::Start(CScheduler& scheduler, std::string& strNodeError, Options c
19921992
nMaxFeeler = connOptions.nMaxFeeler;
19931993

19941994
nSendBufferMaxSize = connOptions.nSendBufferMaxSize;
1995-
nReceiveFloodSize = connOptions.nSendBufferMaxSize;
1995+
nReceiveFloodSize = connOptions.nReceiveFloodSize;
19961996

19971997
SetBestHeight(connOptions.nBestHeight);
19981998

0 commit comments

Comments
 (0)