Make tx error accounting more granular (#26718)

This commit is contained in:
Brennan Watt 2022-08-02 16:43:03 -07:00 committed by GitHub
parent b15be0360b
commit f24de9d254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -4381,6 +4381,9 @@ impl Bank {
| TransactionError::InsufficientFundsForRent { .. } => {
error_counters.invalid_rent_paying_account += 1;
}
TransactionError::InvalidAccountIndex => {
error_counters.invalid_account_index += 1;
}
_ => {
error_counters.instruction_error += 1;
}