Make tokenreg dapp fast again (#3474)

* Using proper TokenReg Instance in TokenReg dApp #3371

* remove unnecessary logs in tokereg dapp

* Improved Redux managment in TokeReg dApp #3371

* Fixfing linting
This commit is contained in:
Nicolas Gotchac
2016-11-16 16:43:21 +01:00
committed by Jaco Greeff
parent df1fbf50d8
commit 6f2c818f9f
18 changed files with 187 additions and 168 deletions

View File

@@ -22,8 +22,12 @@ export default class TokenReg {
this.getInstance();
}
getContract () {
return this._registry.getContract('tokenreg');
}
getInstance () {
return this._registry.getContractInstance('tokenreg');
return this.getContract().instance;
}
tokenCount () {