File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ module.exports = class AbiCodeGenerator {
489
489
let params = inputs . map ( ( input , index ) =>
490
490
tsCodegen . param (
491
491
input . get ( 'name' ) ,
492
- this . _getTupleParamType ( input , index , tupleResultParentType ) ,
492
+ this . _getTupleParamType ( input , index , tupleInputParentType ) ,
493
493
) ,
494
494
)
495
495
@@ -585,15 +585,15 @@ module.exports = class AbiCodeGenerator {
585
585
return [ ...types , klass ]
586
586
}
587
587
588
- _getTupleParamType ( inputOrOutput , index , tupleResultParentType ) {
588
+ _getTupleParamType ( inputOrOutput , index , tupleParentType ) {
589
589
const type = inputOrOutput . get ( 'type' )
590
590
return util . isTupleType ( type )
591
- ? this . _tupleTypeName ( inputOrOutput , index , tupleResultParentType , this . abi . name )
591
+ ? this . _tupleTypeName ( inputOrOutput , index , tupleParentType , this . abi . name )
592
592
: util . isTupleArrayType ( type )
593
593
? `Array<${ this . _tupleTypeName (
594
594
inputOrOutput ,
595
595
index ,
596
- tupleResultParentType ,
596
+ tupleParentType ,
597
597
this . abi . name ,
598
598
) } >`
599
599
: typesCodegen . ascTypeForEthereum ( type )
You can’t perform that action at this time.
0 commit comments