diff --git a/src/main/java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java b/src/main/java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java index 71c4fb4..0b9c6a2 100644 --- a/src/main/java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java +++ b/src/main/java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java @@ -1534,7 +1534,6 @@ private MethodSpec buildContractWrapperReturn(ABIDefinition functionDefinition) List outputParameterTypes = buildTypeNames(functionDefinition.getOutputs()); - methodBuilder.addException(ContractException.class); if (outputParameterTypes.isEmpty()) { String format =