move Account to solana-sdk (#13198)
This commit is contained in:
@@ -5,7 +5,7 @@ use solana_runtime::{
|
||||
bank::{Bank, HashAgeKind},
|
||||
transaction_utils::OrderedIterator,
|
||||
};
|
||||
use solana_sdk::nonce;
|
||||
use solana_sdk::nonce_account;
|
||||
use solana_transaction_status::{InnerInstructions, TransactionStatusMeta};
|
||||
use std::{
|
||||
sync::{
|
||||
@@ -78,7 +78,7 @@ impl TransactionStatusService {
|
||||
if Bank::can_commit(&status) && !transaction.signatures.is_empty() {
|
||||
let fee_calculator = match hash_age_kind {
|
||||
Some(HashAgeKind::DurableNonce(_, account)) => {
|
||||
nonce::utils::fee_calculator_of(&account)
|
||||
nonce_account::fee_calculator_of(&account)
|
||||
}
|
||||
_ => bank.get_fee_calculator(&transaction.message().recent_blockhash),
|
||||
}
|
||||
|
Reference in New Issue
Block a user