Make tx error accounting more granular (#26718)
This commit is contained in:
parent
b15be0360b
commit
f24de9d254
|
@ -4381,6 +4381,9 @@ impl Bank {
|
||||||
| TransactionError::InsufficientFundsForRent { .. } => {
|
| TransactionError::InsufficientFundsForRent { .. } => {
|
||||||
error_counters.invalid_rent_paying_account += 1;
|
error_counters.invalid_rent_paying_account += 1;
|
||||||
}
|
}
|
||||||
|
TransactionError::InvalidAccountIndex => {
|
||||||
|
error_counters.invalid_account_index += 1;
|
||||||
|
}
|
||||||
_ => {
|
_ => {
|
||||||
error_counters.instruction_error += 1;
|
error_counters.instruction_error += 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue