Tighten up storage_stage changes

This commit is contained in:
Greg Fitzgerald
2019-02-25 20:23:15 -07:00
committed by Tyera Eulberg
parent 137233b4a1
commit f9f493ee7a
2 changed files with 6 additions and 16 deletions

View File

@@ -35,14 +35,14 @@ pub struct EntryMeta {
}
impl EntryMeta {
pub fn default_with_entry(entry: &Entry) -> Self {
EntryMeta {
pub fn new(entry: Entry) -> Self {
Self {
tick_height: 0,
slot: 0,
slot_leader: Pubkey::default(),
num_ticks_left_in_slot: 0,
parent_slot: None,
entry: entry.clone(),
entry,
}
}
}