Add some missed underscores, update changelog and comments

This commit is contained in:
Brandon Millman
2017-12-20 18:59:46 -05:00
parent 23052a5c2e
commit 2d53b7d9a4
7 changed files with 28 additions and 34 deletions

View File

@@ -18,7 +18,7 @@ export class TokenUtils {
return zrxToken;
}
public getWethTokenOrThrow(): Token {
const wethToken = _.find(this.tokens, {symbol: WETH_TOKEN_SYMBOL});
const wethToken = _.find(this._tokens, {symbol: WETH_TOKEN_SYMBOL});
if (_.isUndefined(wethToken)) {
throw new Error(InternalZeroExError.WethNotInTokenRegistry);
}