Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Feb 28, 2025
1 parent 1e04299 commit 6c1f29f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions dan_layer/storage/src/consensus_models/substate_change.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,6 @@ impl SubstateChange {
}
}

pub fn up_mut(&mut self) -> Option<&mut Substate> {
match self {
SubstateChange::Up { substate, .. } => Some(substate),
_ => None,
}
}

pub fn into_up(self) -> Option<Substate> {
match self {
SubstateChange::Up { substate: value, .. } => Some(value),
Expand Down

0 comments on commit 6c1f29f

Please sign in to comment.