From 8263e56f41caa7249691c90981310cdc7d41f856 Mon Sep 17 00:00:00 2001 From: kernelkind Date: Thu, 17 Jul 2025 19:33:56 -0400 Subject: [PATCH] expose `AccountCache::falback` Signed-off-by: kernelkind --- crates/notedeck/src/account/cache.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/notedeck/src/account/cache.rs b/crates/notedeck/src/account/cache.rs index 43a0e319..6806baba 100644 --- a/crates/notedeck/src/account/cache.rs +++ b/crates/notedeck/src/account/cache.rs @@ -97,6 +97,10 @@ impl AccountCache { .get_mut(&self.selected) .expect("guarenteed that selected exists in accounts") } + + pub fn fallback(&self) -> &Pubkey { + &self.fallback + } } impl<'a> IntoIterator for &'a AccountCache {