diff --git a/accounts-db/src/accounts_file.rs b/accounts-db/src/accounts_file.rs index 885380cb7814d6..4f373333ae7450 100644 --- a/accounts-db/src/accounts_file.rs +++ b/accounts-db/src/accounts_file.rs @@ -3,6 +3,7 @@ use { account_storage::meta::{ StorableAccountsWithHashesAndWriteVersions, StoredAccountInfo, StoredAccountMeta, }, + accounts_db::AppendVecId, accounts_hash::AccountHash, append_vec::{AppendVec, AppendVecError}, storable_accounts::StorableAccounts, @@ -103,7 +104,7 @@ impl AccountsFile { } } - pub fn file_name(slot: Slot, id: impl std::fmt::Display) -> String { + pub fn file_name(slot: Slot, id: AppendVecId) -> String { format!("{slot}.{id}") }