mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-24 06:08:48 +00:00
very wip working register
This commit is contained in:
parent
a4622c5ce4
commit
c67a9ddf58
@ -172,6 +172,7 @@ __embarkENS.setProvider = function (config) {
|
|||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
if (err.message.indexOf('Provider not set or invalid') > -1) {
|
if (err.message.indexOf('Provider not set or invalid') > -1) {
|
||||||
|
console.log('PROVIDER NOT SET');
|
||||||
console.warn(ERROR_MESSAGE);
|
console.warn(ERROR_MESSAGE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -190,6 +191,7 @@ __embarkENS.resolve = function (name, callback) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let node = namehash.hash(name);
|
let node = namehash.hash(name);
|
||||||
|
console.log('NODE TO RESOLVE', node);
|
||||||
|
|
||||||
function cb(err, addr) {
|
function cb(err, addr) {
|
||||||
if (err === NoDecodeAddrError) {
|
if (err === NoDecodeAddrError) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user