expose AccountCache::falback
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -97,6 +97,10 @@ impl AccountCache {
|
|||||||
.get_mut(&self.selected)
|
.get_mut(&self.selected)
|
||||||
.expect("guarenteed that selected exists in accounts")
|
.expect("guarenteed that selected exists in accounts")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn fallback(&self) -> &Pubkey {
|
||||||
|
&self.fallback
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> IntoIterator for &'a AccountCache {
|
impl<'a> IntoIterator for &'a AccountCache {
|
||||||
|
|||||||
Reference in New Issue
Block a user