mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-04 19:24:20 +00:00
Removed incorrect update of namespace tx.
No need to store the address related to keva operations.
This commit is contained in:
parent
1cc2e03927
commit
c8c6336646
@ -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.
|
||||
|
@ -31,7 +31,7 @@ CKevaData::fromScript (unsigned h, const COutPoint& out,
|
||||
}
|
||||
nHeight = h;
|
||||
prevout = out;
|
||||
addr = script.getAddress();
|
||||
//addr = script.getAddress();
|
||||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
|
Loading…
x
Reference in New Issue
Block a user