dont block stop chain because of deprecated nts (#1252)

This commit is contained in:
Bradley Matusiak 2022-07-12 23:57:27 -04:00 committed by GitHub
parent 081931a6d4
commit 809eae4f98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
nts.js
View File

@ -4,6 +4,8 @@
var smooth = 2;
Gun.on('create', function(root){ // switch to DAM, deprecated old
Gun.log.once("nts", "gun/nts is removed deprecated old");
this.to.next(root);
return ; // stub out for now. TODO: IMPORTANT! re-add back in later.
var opt = root.opt, mesh = opt.mesh;
if(!mesh) return;