Skip to content

Commit 649a732

Browse files
authored
Merge pull request #930 from iiimoon/develop
cosmetic code fix
2 parents 2c751a3 + 1071b7e commit 649a732

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/org/tron/core/db/UtxoStore.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ private UtxoStore(@Value("utxo") String dbName) {
4444
super(dbName);
4545
}
4646

47-
public void reSet() {
48-
this.dbSource.resetDb();
49-
}
5047

5148
public byte[] find(byte[] key) {
5249
return dbSource.getData(key);
@@ -139,4 +136,5 @@ public Object get(byte[] key) {
139136
public boolean has(byte[] key) {
140137
return false;
141138
}
139+
142140
}

src/main/java/org/tron/core/services/WitnessService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ private void blockProductionLoop() throws InterruptedException {
131131
break;
132132
case TIME_OUT:
133133
logger.debug("Time out");
134+
break;
134135
case EXCEPTION_PRODUCING_BLOCK:
135136
logger.info("Exception");
136137
break;

0 commit comments

Comments
 (0)