diff --git a/sdk-codec/src/main/java/org/fisco/bcos/sdk/codec/ABICodec.java b/sdk-codec/src/main/java/org/fisco/bcos/sdk/codec/ABICodec.java index e53a4668d..1e7cb9bfd 100644 --- a/sdk-codec/src/main/java/org/fisco/bcos/sdk/codec/ABICodec.java +++ b/sdk-codec/src/main/java/org/fisco/bcos/sdk/codec/ABICodec.java @@ -217,6 +217,11 @@ private Type buildType(ABIDefinition.NamedType namedType, String param) return type; } + if (typeStr.equals("address")) { + type = new Address(param); + return type; + } + if (typeStr.startsWith("bytes")) { String lengthStr = typeStr.substring("bytes".length()); int length;