maurelian / eth-registrar-ens

JS binding for the Initial ENS Registrar
GNU General Public License v3.0
17 stars 9 forks source link

The logic of init() should be moved to the constructor. #13

Closed ferni closed 7 years ago

ferni commented 7 years ago

As the code is now, I don't see a reason to have a separate function for initialization. The body of Registrar.prototype.init could be moved to the bottom of the Registrar constructor, adding the parameters as well, after web3.

maurelian commented 7 years ago

Done.