put register function in another module that can be used by embark and embark js

This commit is contained in:
Jonathan Rainville 2018-07-25 12:48:46 -04:00 committed by Iuri Matias
parent 64ed4fbe9a
commit 3dadef752f

View File

@ -238,7 +238,6 @@ __embarkENS.lookup = function (address, callback) {
};
__embarkENS.registerSubDomain = function (name, address, callback) {
const self = this;
callback = callback || function () {};
if (this.env !== 'development' && this.env !== 'privatenet') {