Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohong authored May 18, 2018
2 parents 184028b + ad2e588 commit 9cae056
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ For private test net, the IPs are allocated by yourself.
## Running a local node and connecting to the public testnet

* Ensure that the version number is consistent with the version number of the test network. If it is not consistent, Please modify the node.p2p.version in the config.conf file, and delete the out-directory directory (if it exists)
* The current p2p.version is **61**

### Running a Full Node

Expand Down
8 changes: 6 additions & 2 deletions src/main/java/org/tron/core/db/Manager.java
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,13 @@ public synchronized void pushBlock(final BlockCapsule block)
applyBlock(newBlock);
tmpDialog.commit();
} catch (RevokingStoreIllegalStateException e) {
logger.debug(e.getMessage(), e);
}
logger.error(e.getMessage(), e);
} catch (Throwable throwable) {
logger.error(throwable.getMessage(), throwable);
khaosDb.removeBlk(block.getBlockId());
throw throwable;
}
}
logger.info("save block: " + newBlock);
}
}
Expand Down

0 comments on commit 9cae056

Please sign in to comment.