(cherry picked from commit d19526e6c2
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
@@ -4444,6 +4444,10 @@ impl Bank {
|
||||
*self.inflation.read().unwrap()
|
||||
}
|
||||
|
||||
pub fn rent_collector(&self) -> RentCollector {
|
||||
self.rent_collector.clone()
|
||||
}
|
||||
|
||||
/// Return the total capitalization of the Bank
|
||||
pub fn capitalization(&self) -> u64 {
|
||||
self.capitalization.load(Relaxed)
|
||||
|
Reference in New Issue
Block a user