feat: add helper to create bootstrap addresses (#269)
This commit is contained in:
parent
ea9c4e8b59
commit
e117a2723a
5 changed files with 69 additions and 25 deletions
|
|
@ -254,6 +254,12 @@ impl<P> Deref for OrderPreservingProperties<P> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<P> From<Vec<P>> for OrderPreservingProperties<P> {
|
||||
fn from(value: Vec<P>) -> Self {
|
||||
OrderPreservingProperties(value)
|
||||
}
|
||||
}
|
||||
|
||||
impl<'b, C, P> minicbor::decode::Decode<'b, C> for OrderPreservingProperties<P>
|
||||
where
|
||||
P: Decode<'b, C>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue