LoadedAccountAccessor::Cached does not store Pubkey (#21030)

This commit is contained in:
Jeff Washington (jwash)
2021-11-04 10:28:04 -05:00
committed by GitHub
parent aaccba8377
commit 76e533be46
3 changed files with 22 additions and 29 deletions

View File

@@ -73,7 +73,7 @@ impl ReplicaAccountsServer for ReplicaAccountsServerImpl {
LoadedAccount::Stored(stored_account_meta) => Some(
ReplicaAccountInfo::from_stored_account_meta(&stored_account_meta),
),
LoadedAccount::Cached((_pubkey, cached_account)) => {
LoadedAccount::Cached(cached_account) => {
Some(ReplicaAccountInfo::from_cached_account(&cached_account))
}
});