Skip to content

Commit 16494de

Browse files
committed
remove the comment of trustNode in config
1 parent e15cbbf commit 16494de

3 files changed

Lines changed: 0 additions & 42 deletions

File tree

codecov.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

common/src/main/resources/reference.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ node.metrics = {
164164

165165
node {
166166
# Trust node for solidity node (example: "127.0.0.1:50051").
167-
# Empty string here = "not configured"; Args.java bridge converts "" → null so the
168-
# runtime behavior matches develop (trustNodeAddr is null unless user sets the key).
169167
trustNode = ""
170168

171169
# Expose extension api to public or not

common/src/test/java/org/tron/core/config/args/NodeConfigTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ public void testValidContractProtoThreadsExplicitPreserved() {
245245

246246
@Test
247247
public void testTrustNodeNotDefaultedByReferenceConf() {
248-
// reference.conf intentionally omits `node.trustNode` so that empty configs
249-
// preserve develop's behavior (trustNodeAddr stays null in the Args bridge).
250248
NodeConfig nc = NodeConfig.fromConfig(withRef());
251249
assertTrue(nc.getTrustNode() == null || nc.getTrustNode().isEmpty());
252250
}

0 commit comments

Comments
 (0)