We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 760e50b commit 9301515Copy full SHA for 9301515
abi/src/main/java/org/web3j/abi/DefaultFunctionEncoder.java
@@ -99,7 +99,7 @@ private static int getLength(final List<Type> parameters) {
99
((StaticArray) type).getComponentType())) {
100
count++;
101
} else if (type instanceof StaticArray) {
102
- count += ((StaticArray) type).getValue().size();
+ count += getLength(((StaticArray) type).getValue());
103
} else {
104
105
}
0 commit comments