use Bank's notion of leader_id where possible (#3119)

This commit is contained in:
Rob Walker
2019-03-04 18:40:47 -08:00
committed by GitHub
parent a481822321
commit 794e961328
3 changed files with 24 additions and 23 deletions

View File

@ -191,6 +191,10 @@ impl Bank {
bank
}
pub fn collector_id(&self) -> Pubkey {
self.collector_id
}
pub fn slot(&self) -> u64 {
self.slot
}