Should send "reject" when mixing queue is full (#2981)

This commit is contained in:
UdjinM6 2019-06-18 14:33:44 +03:00 committed by GitHub
parent 8d5781f408
commit d63202bdce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ void CPrivateSendServer::ProcessMessage(CNode* pfrom, const std::string& strComm
if (IsSessionReady()) {
// too many users in this session already, reject new ones
LogPrintf("DSACCEPT -- queue is already full!\n");
PushStatus(pfrom, STATUS_ACCEPTED, ERR_QUEUE_FULL, connman);
PushStatus(pfrom, STATUS_REJECTED, ERR_QUEUE_FULL, connman);
return;
}