diff --git a/radicle-node/src/bounded.rs b/radicle-node/src/bounded.rs index 3fc1b39e..aea59730 100644 --- a/radicle-node/src/bounded.rs +++ b/radicle-node/src/bounded.rs @@ -189,6 +189,12 @@ impl TryFrom> for BoundedVec { } } +impl From> for Vec { + fn from(value: BoundedVec) -> Self { + value.v + } +} + impl std::fmt::Debug for BoundedVec { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { self.v.fmt(f)