Removed incorrect update of namespace tx.

No need to store the address related to keva operations.
This commit is contained in:
Just Wonder 2020-06-22 15:34:10 -07:00
parent 1cc2e03927
commit c8c6336646
2 changed files with 1 additions and 6 deletions

View File

@ -210,11 +210,6 @@ CKevaIterator* CCoinsViewCache::IterateAssociatedNamespaces(const valtype& nameS
name history. */
void CCoinsViewCache::SetName(const valtype &nameSpace, const valtype &key, const CKevaData& data, bool undo)
{
CKevaData namespaceData;
if (GetNamespace(nameSpace, namespaceData)) {
namespaceData.setUpdateOutpoint(data.getUpdateOutpoint());
cacheNames.setNamespace(nameSpace, namespaceData);
}
cacheNames.set(nameSpace, key, data);
// Handle namespace association.

View File

@ -31,7 +31,7 @@ CKevaData::fromScript (unsigned h, const COutPoint& out,
}
nHeight = h;
prevout = out;
addr = script.getAddress();
//addr = script.getAddress();
}
/* ************************************************************************** */