Update index.js

Please @amark confirm if this line (80) is really necessary.
This commit fix the issue #616
This commit is contained in:
rogowski 2018-10-02 19:42:33 -03:00 committed by GitHub
parent fffec3cc63
commit 84557c7a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@
// potentially parallel async operations!!!
var check = {}, each = {}, u;
each.node = function(node, soul){
if(Gun.obj.empty(node, '_')){ return check['node'+soul] = 0 } // ignore empty updates, don't reject them.
//if(Gun.obj.empty(node, '_')){ return check['node'+soul] = 0 } // ignore empty updates, don't reject them. @amark, removing this line solves issue #616. 2018-10-02
Gun.obj.map(node, each.way, {soul: soul, node: node});
};
each.way = function(val, key){