File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
framework/src/main/java/org/tron/common/application Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,21 +42,21 @@ 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
5252 @ Override
5353 public void shutdown () {
5454 this .shutdownServices ();
5555 eventService .close ();
56- consensusService .stop ();
5756 if (!Args .getInstance ().isSolidityNode () && (!Args .getInstance ().p2pDisable )) {
5857 tronNetService .close ();
5958 }
59+ consensusService .stop ();
6060 dbManager .close ();
6161 shutdown .countDown ();
6262 }
You can’t perform that action at this time.
0 commit comments