Skip to content

Commit

Permalink
fix: removing from impls
Browse files Browse the repository at this point in the history
  • Loading branch information
etherhood committed Sep 11, 2024
1 parent f9e0a6d commit 88f0e87
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ethportal-api/src/types/content_key/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,6 @@ impl OverlayContentKey for StateContentKey {
}
}

impl From<&StateContentKey> for RawContentKey {
fn from(val: &StateContentKey) -> Self {
val.to_bytes()
}
}

impl From<StateContentKey> for RawContentKey {
fn from(val: StateContentKey) -> Self {
val.to_bytes()
}
}

impl TryFrom<RawContentKey> for StateContentKey {
type Error = ContentKeyError;
fn try_from(value: RawContentKey) -> Result<Self, Self::Error> {
Expand Down

0 comments on commit 88f0e87

Please sign in to comment.