diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 253dceb8f1..7eada8101a 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -313,16 +313,6 @@ impl<'a> LoadedAccount<'a> { }, } } - - pub fn lamports(&self) -> u64 { - match self { - LoadedAccount::Stored(stored_account_meta) => stored_account_meta.account_meta.lamports, - LoadedAccount::Cached((_, cached_account)) => match cached_account { - Cow::Owned(cached_account) => cached_account.account.lamports, - Cow::Borrowed(cached_account) => cached_account.account.lamports, - }, - } - } } #[derive(Clone, Default, Debug)]