Skip to content

Commit

Permalink
change cpu to energy in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
nanfengpo authored and CodeNinjaEvan committed Aug 21, 2018
1 parent 402e26e commit 0c38351
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ TRON Protocol and the Tron Virtual Machine (TVM) allow anyone to develop decentr
* JDK 1.8 (JDK 1.9+ are not supported yet)
* On Linux Ubuntu system (e.g. Ubuntu 16.04.4 LTS), ensure that the machine has [__Oracle JDK 8__](https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04), instead of having __Open JDK 8__ in the system. If you are building the source code by using __Open JDK 8__, you will get [__Build Failed__](https://github.com/tronprotocol/java-tron/issues/337) result.
* Open **UDP** ports for connection to the network
* **MINIMUM** 2 CPU Cores
* **MINIMUM** 2 ENERGY Cores

## Build and Deploy automatically using scripts

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/tron/program/FullNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public static void main(String[] args) throws InterruptedException {
}

if (Args.getInstance().isDebug()) {
logger.info("in debug mode, it won't check cpu time");
logger.info("in debug mode, it won't check energy time");
} else {
logger.info("not in debug mode, it will check cpu time");
logger.info("not in debug mode, it will check energy time");
}

DefaultListableBeanFactory beanFactory = new DefaultListableBeanFactory();
Expand Down

0 comments on commit 0c38351

Please sign in to comment.