We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16494de commit b225467Copy full SHA for b225467
1 file changed
common/src/main/java/org/tron/core/config/args/EventConfig.java
@@ -84,8 +84,9 @@ public static EventConfig fromConfig(Config config) {
84
85
String nativeKey = "native";
86
String topicsKey = "topics";
87
- Config bindable = section.withoutPath(nativeKey).withoutPath(topicsKey)
88
- .withoutPath("topicDefaults");
+ // remove two keys to construct EventConfig because they cannot be bind automatically,
+ // we can bind them manually later
89
+ Config bindable = section.withoutPath(nativeKey).withoutPath(topicsKey);
90
EventConfig ec = ConfigBeanFactory.create(bindable, EventConfig.class);
91
92
// "native" sub-section: bind via ConfigBeanFactory when present, use defaults otherwise
0 commit comments