Skip to content

Commit d52947e

Browse files
committed
feat(start): adjust consensusService start before tronNetService
Closes #6215
1 parent 5158b2f commit d52947e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/src/main/java/org/tron/common/application/ApplicationImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public class ApplicationImpl implements Application {
4242
public void startup() {
4343
this.startServices();
4444
eventService.init();
45+
consensusService.start();
4546
if ((!Args.getInstance().isSolidityNode()) && (!Args.getInstance().isP2pDisable())) {
4647
tronNetService.start();
4748
}
48-
consensusService.start();
4949
MetricsUtil.init();
5050
}
5151

0 commit comments

Comments
 (0)