Skip to content

Commit cd5b92e

Browse files
authored
Merge pull request #944 from tronprotocol/hotfix/preValidateTransaction_exception
fix exception handle
2 parents 2d3aa37 + 924f2bd commit cd5b92e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,8 +1272,13 @@ private static class ValidateSignTask implements Callable<Boolean> {
12721272

12731273
@Override
12741274
public Boolean call() throws ValidateSignatureException {
1275-
trx.validateSignature();
1276-
countDownLatch.countDown();
1275+
try {
1276+
trx.validateSignature();
1277+
} catch (ValidateSignatureException e) {
1278+
throw e;
1279+
} finally {
1280+
countDownLatch.countDown();
1281+
}
12771282
return true;
12781283
}
12791284
}

0 commit comments

Comments
 (0)