mirror of https://github.com/embarklabs/embark.git
put register function in another module that can be used by embark and embark js
This commit is contained in:
parent
2484f9c72b
commit
d30faa6b05
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue