conflict in register

This commit is contained in:
Jonathan Rainville 2018-08-15 15:13:46 -04:00 committed by Iuri Matias
parent d4abed24eb
commit 61d63e2f65
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function registerSubDomain(ens, registrar, resolver, defaultAccount, subdomain,
}) })
// Set name for reverse node // Set name for reverse node
.then(_result => { .then(_result => {
return secureSend(web3, resolver.methods.setName(reverseNode, subdomain + '.embark.eth'), {from: defaultAccount}, false); return secureSend(web3, resolver.methods.setName(reverseNode, `${subdomain}.${rootDomain}`), {from: defaultAccount}, false);
}) })
.then(_result => { .then(_result => {
callback(null, transaction); callback(null, transaction);