accounts: Replace nonce_rollback unreachable block with descriptive panic

This commit is contained in:
Trent Nelson 2020-12-02 11:32:23 -07:00 committed by mergify[bot]
parent 47af5933ca
commit be7760caa1
1 changed files with 1 additions and 1 deletions

View File

@ -860,7 +860,7 @@ impl Accounts {
(false, true, Some((_, _, Some(fee_payer_account)))) => {
*account = fee_payer_account.clone();
}
_ => unreachable!(),
_ => panic!("unexpected nonce_rollback condition"),
}
}
if account.rent_epoch == 0 {