Remove unused param

This commit is contained in:
Leonid Logvinov 2018-02-27 10:38:12 -08:00
parent ef40cb9687
commit 10e2d4b99c
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -32,7 +32,7 @@ export class BaseContract {
const trailingArrayRegex = /\[\d*\]$/; const trailingArrayRegex = /\[\d*\]$/;
if (type.match(trailingArrayRegex)) { if (type.match(trailingArrayRegex)) {
const arrayItemType = type.replace(trailingArrayRegex, ''); const arrayItemType = type.replace(trailingArrayRegex, '');
return _.map(values, (value: any, i: number) => return _.map(values, value =>
this._transformTypedData(arrayItemType, value, transformation), this._transformTypedData(arrayItemType, value, transformation),
); );
} else { } else {