accounts: Replace nonce_rollback unreachable block with descriptive panic
This commit is contained in:
parent
47af5933ca
commit
be7760caa1
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue