We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f29501 commit a3102a1Copy full SHA for a3102a1
1 file changed
consensus/src/main/java/org/tron/consensus/dpos/StateManager.java
@@ -90,13 +90,11 @@ public void receiveBlock(BlockCapsule blockCapsule) {
90
return;
91
}
92
93
- //multi master occurs. If currentBlockId is bigger, we continue to produce block at next cycle.
94
if (null != currentBlockId
95
&& currentBlockId.toString().compareTo(blockCapsule.getBlockId().toString()) > 0) {
96
97
98
99
- //currentBlockId is smaller, we may pause one cycle
100
dupBlockCount.set(1);
101
dupBlockTime.set(System.currentTimeMillis());
102
0 commit comments