update setAskFor on TXLOCKVOTE (#1713)

This commit is contained in:
UdjinM6 2017-11-03 14:19:13 +03:00 committed by GitHub
parent 578d55979f
commit a9293ad039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,9 +64,10 @@ void CInstantSend::ProcessMessage(CNode* pfrom, std::string& strCommand, CDataSt
#endif
LOCK(cs_instantsend);
uint256 nVoteHash = vote.GetHash();
pfrom->setAskFor.erase(nVoteHash);
if(mapTxLockVotes.count(nVoteHash)) return;
mapTxLockVotes.insert(std::make_pair(nVoteHash, vote));