mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-13 15:46:24 +00:00
put register function in another module that can be used by embark and embark js
This commit is contained in:
parent
4958304a50
commit
b8ec833846
@ -238,7 +238,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 (this.env !== 'development' && this.env !== 'privatenet') {
|
if (this.env !== 'development' && this.env !== 'privatenet') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user