Browse Source

Removed incorrect update of namespace tx.

No need to store the address related to keva operations.
issue_19
Just Wonder 4 years ago
parent
commit
c8c6336646
  1. 5
      src/coins.cpp
  2. 2
      src/keva/common.cpp

5
src/coins.cpp

@ -210,11 +210,6 @@ CKevaIterator* CCoinsViewCache::IterateAssociatedNamespaces(const valtype& nameS @@ -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.

2
src/keva/common.cpp

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

Loading…
Cancel
Save