Skip to content

Commit

Permalink
Fix commit c4d356a
Browse files Browse the repository at this point in the history
  • Loading branch information
AionJayT committed Oct 8, 2019
1 parent c4d356a commit 60f5a39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ public synchronized TxResponse addPendingTransaction(AionTransaction tx) {
}

public boolean isValid(AionTransaction tx) {
return blockchain.isUnityForkEnabled() ? TXValidator.isValidAfterUnity(tx) : TXValidator.isValid(tx)
return (blockchain.isUnityForkEnabled() ? TXValidator.isValidAfterUnity(tx) : TXValidator.isValid(tx))
&& TransactionTypeValidator.isValid(tx)
&& beaconHashValidator.validateTxForPendingState(tx);
}
Expand Down

0 comments on commit 60f5a39

Please sign in to comment.