Update usages of u64 to Slot (#7191)

automerge
This commit is contained in:
Sagar Dhawan 2019-12-02 11:57:40 -08:00 committed by Grimes
parent bd099e2f4d
commit 0e2e13f018
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ pub struct Bank {
/// Hash of this Bank's parent's state
parent_hash: Hash,
parent_slot: u64,
parent_slot: Slot,
/// The number of transactions processed without error
#[serde(serialize_with = "serialize_atomicu64")]
@ -665,7 +665,7 @@ impl Bank {
self.rc.parent.read().unwrap().clone()
}
pub fn parent_slot(&self) -> u64 {
pub fn parent_slot(&self) -> Slot {
self.parent_slot
}