Skip to content

Commit 4cc104b

Browse files
committed
in triggerContract first stage, throw ContractValidateException anywhen
1 parent 80b2277 commit 4cc104b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/tron/core/Wallet.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,8 @@ public Transaction triggerContract(TriggerSmartContract triggerSmartContract,
886886
trxCap.setResult(ret);
887887
return trxCap.getInstance();
888888
}
889+
} catch (ContractValidateException e) {
890+
throw e;
889891
} catch (Exception e) {
890892
logger.error(e.getMessage());
891893
return null;

0 commit comments

Comments
 (0)