Relocate transaction reference verification to join the other validity checks

This commit is contained in:
Michael Vines
2019-03-19 18:03:07 -07:00
parent b3cdf58e4b
commit 0dc364c17a
4 changed files with 60 additions and 2 deletions

View File

@ -388,7 +388,7 @@ impl BankingStage {
.filter_map(|((tx, ver), index)| match tx {
None => None,
Some(tx) => {
if tx.verify_refs() && ver != 0 {
if ver != 0 {
Some((tx, index))
} else {
None