unl_delete should actually remove from the UNL.

This commit is contained in:
JoelKatz
2013-02-10 14:08:38 -08:00
parent 8fef4d9b59
commit c183f32e44

View File

@@ -1469,6 +1469,9 @@ void UniqueNodeList::nodeRemovePublic(const RippleAddress& naNodePublic)
// YYY Only dirty on successful delete. // YYY Only dirty on successful delete.
fetchDirty(); fetchDirty();
boost::recursive_mutex::scoped_lock sl(mUNLLock);
mUNL.erase(naNodePublic);
} }
void UniqueNodeList::nodeRemoveDomain(std::string strDomain) void UniqueNodeList::nodeRemoveDomain(std::string strDomain)