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 Pascal Precht
parent 2484f9c72b
commit d30faa6b05
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 0 additions and 1 deletions

View File

@ -245,7 +245,6 @@ __embarkENS.lookup = function (address, callback) {
}; };
__embarkENS.registerSubDomain = function (name, address, callback) { __embarkENS.registerSubDomain = function (name, address, callback) {
const self = this;
callback = callback || function () {}; callback = callback || function () {};
if (!web3.eth.defaultAccount) { if (!web3.eth.defaultAccount) {