fix(addresses): Fix Byron cbor structure (#155)
* Use correct CBOR struct for Byron addresses * Implement universal to / from string that works across all eras
This commit is contained in:
parent
435b7c665e
commit
e42341c653
4 changed files with 170 additions and 51 deletions
|
|
@ -274,7 +274,7 @@ impl<T> Deref for CborWrap<T> {
|
|||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, PartialOrd)]
|
||||
pub struct TagWrap<I, const T: u64>(I);
|
||||
pub struct TagWrap<I, const T: u64>(pub I);
|
||||
|
||||
impl<I, const T: u64> TagWrap<I, T> {
|
||||
pub fn new(inner: I) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue