This commit is contained in:
Eduard Kuzmenko 2021-07-04 06:20:36 +03:00
parent 8fe9f3de48
commit c12e02b804

View File

@ -61,9 +61,9 @@ class ReferenceDatabase {
if(!contexts) { if(!contexts) {
contexts = new Set(); contexts = new Set();
this.contexts.set(reference, contexts); this.contexts.set(reference, contexts);
this.links[bytesToHex(reference)] = reference;
} }
this.links[bytesToHex(reference)] = reference;
for(const _context of contexts) { for(const _context of contexts) {
if(deepEqual(_context, context)) { if(deepEqual(_context, context)) {
return; return;