mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-14 00:58:09 +00:00
Fixed cached namespace.
This commit is contained in:
parent
d3e92247d7
commit
1a4f002243
@ -686,6 +686,10 @@ static bool AcceptToMemoryPoolWorker(const CChainParams& chainparams, CTxMemPool
|
||||
const valtype& nameSpace = kevaOp.getOpNamespace();
|
||||
const valtype& key = kevaOp.getOpKey();
|
||||
CKevaData data;
|
||||
// Make sure namespace info is in cache.
|
||||
if (view.GetNamespace(nameSpace, data)) {
|
||||
view.SetName(nameSpace, ValtypeFromString(CKevaScript::KEVA_DISPLAY_NAME_KEY), data, false);
|
||||
}
|
||||
if (view.GetName(nameSpace, key, data)) {
|
||||
view.SetName(nameSpace, key, data, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user