File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/org/tron/core/db Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ public void close() {
27
27
28
28
for (TransactionCapsule tx : this .tmpTransactions ) {
29
29
try {
30
- if (tx .getTrxTrace ().getTimeResultType ().equals (TimeResultType .NORMAL )) {
30
+ if (tx .getTrxTrace () != null &&
31
+ tx .getTrxTrace ().getTimeResultType ().equals (TimeResultType .NORMAL )) {
31
32
dbManager .getRepushTransactions ().put (tx );
32
33
}
33
34
} catch (InterruptedException e ) {
@@ -39,9 +40,7 @@ public void close() {
39
40
40
41
for (TransactionCapsule tx : dbManager .getPoppedTransactions ()) {
41
42
try {
42
- if (tx .getTrxTrace ().getTimeResultType ().equals (TimeResultType .NORMAL )) {
43
43
dbManager .getRepushTransactions ().put (tx );
44
- }
45
44
} catch (InterruptedException e ) {
46
45
logger .error (e .getMessage ());
47
46
Thread .currentThread ().interrupt ();
You can’t perform that action at this time.
0 commit comments