mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
Debug when OneShot node is about to disconnect.
This commit is contained in:
parent
e025fe7934
commit
b7ac800699
@ -4318,8 +4318,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
||||
addrman.Add(vAddrOk, pfrom->addr, 2 * 60 * 60);
|
||||
if (vAddr.size() < 1000)
|
||||
pfrom->fGetAddr = false;
|
||||
if (pfrom->fOneShot)
|
||||
if (pfrom->fOneShot) {
|
||||
printf("OneShot. Disconnecting\n");
|
||||
pfrom->fDisconnect = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user