Tighten up storage_stage changes
This commit is contained in:
committed by
Tyera Eulberg
parent
137233b4a1
commit
f9f493ee7a
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user