mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Check atom exists in graph when deciding to read from disk (#1371)
This commit is contained in:
parent
faff9efaca
commit
1c095b13e9
@ -66,7 +66,7 @@ Gun.on('create', function(root){
|
||||
if((tmp = (root.next||'')[soul]) && tmp.put){
|
||||
if(o.atom){
|
||||
tmp = (tmp.next||'')[o.atom] ;
|
||||
if(tmp && tmp.rad){ return }
|
||||
if(tmp && tmp.root && tmp.root.graph && tmp.root.graph[soul] && tmp.root.graph[soul][o.atom]){ return }
|
||||
} else
|
||||
if(tmp && tmp.rad){ return }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user