Skip to content

Commit

Permalink
name claim: Revert ignoring waitMined from user passed options (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk authored and mpowaga committed Oct 31, 2019
1 parent 8823333 commit a7bcdb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es/ae/aens.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async function claim (name, salt, options = {}) {
const result = await this.send(claimTx, opt)
if (opt.vsn === 1 || name.split('.')[0].length > 12) {
delete opt.vsn
const nameInter = this.Chain.defaults.waitMined ? await this.aensQuery(name, opt) : {}
const nameInter = opt.waitMined ? await this.aensQuery(name, opt) : {}
return Object.assign(result, nameInter)
}
return result
Expand Down

0 comments on commit a7bcdb2

Please sign in to comment.