Fix NetMsgType::DSCOMPLETE usage

Closes #731
This commit is contained in:
UdjinM6 2016-03-10 00:33:48 +03:00 committed by Holger Schinzel
parent 5d42a372cf
commit c872091296
2 changed files with 3 additions and 3 deletions

View File

@ -355,7 +355,7 @@ void CDarksendPool::ProcessMessageDarksend(CNode* pfrom, std::string& strCommand
//check to see if input is spent already? (and probably not confirmed)
SignFinalTransaction(txNew, pfrom);
} else if (strCommand == NetMsgType::DSSTATUSUPDATE) { //Darksend Complete
} else if (strCommand == NetMsgType::DSCOMPLETE) { //Darksend Complete
if (pfrom->nVersion < MIN_POOL_PEER_PROTO_VERSION) {
return;
@ -2198,7 +2198,7 @@ void CDarksendPool::RelayCompletedTransaction(const int sessionID, const bool er
{
LOCK(cs_vNodes);
BOOST_FOREACH(CNode* pnode, vNodes)
pnode->PushMessage(NetMsgType::DSSTATUSUPDATE, sessionID, error, errorID);
pnode->PushMessage(NetMsgType::DSCOMPLETE, sessionID, error, errorID);
}
void CDarksendPool::UpdatedBlockTip(const CBlockIndex *pindex)

View File

@ -240,7 +240,7 @@ extern const char *DSACCEPT;
extern const char *DSVIN;
extern const char *DSFINALTX;
extern const char *DSSIGNFINALTX;
extern const char *DSDSCOMPLETE;
extern const char *DSCOMPLETE;
extern const char *DSSTATUSUPDATE;
extern const char *DSTX;
extern const char *DSQUEUE;