Remove unused param
This commit is contained in:
parent
ef40cb9687
commit
10e2d4b99c
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user