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 {