use Bank's notion of leader_id where possible (#3119)
This commit is contained in:
@ -191,6 +191,10 @@ impl Bank {
|
||||
bank
|
||||
}
|
||||
|
||||
pub fn collector_id(&self) -> Pubkey {
|
||||
self.collector_id
|
||||
}
|
||||
|
||||
pub fn slot(&self) -> u64 {
|
||||
self.slot
|
||||
}
|
||||
|
Reference in New Issue
Block a user