update setAskFor on TXLOCKVOTE (#1713)
This commit is contained in:
parent
578d55979f
commit
a9293ad039
@ -64,9 +64,10 @@ void CInstantSend::ProcessMessage(CNode* pfrom, std::string& strCommand, CDataSt
|
|||||||
#endif
|
#endif
|
||||||
LOCK(cs_instantsend);
|
LOCK(cs_instantsend);
|
||||||
|
|
||||||
|
|
||||||
uint256 nVoteHash = vote.GetHash();
|
uint256 nVoteHash = vote.GetHash();
|
||||||
|
|
||||||
|
pfrom->setAskFor.erase(nVoteHash);
|
||||||
|
|
||||||
if(mapTxLockVotes.count(nVoteHash)) return;
|
if(mapTxLockVotes.count(nVoteHash)) return;
|
||||||
mapTxLockVotes.insert(std::make_pair(nVoteHash, vote));
|
mapTxLockVotes.insert(std::make_pair(nVoteHash, vote));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user