diff --git a/src/darksend.cpp b/src/darksend.cpp index 71d96608a7..7c3c4c4946 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -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) diff --git a/src/protocol.h b/src/protocol.h index f63a76b78f..f7d73f9d40 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -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;