build(deps): minicbor-0.14, minicbor-derive-0.9.0, fix build (#63)
This commit is contained in:
parent
f0c0887390
commit
6f2d117f9d
8 changed files with 33 additions and 33 deletions
|
|
@ -13,7 +13,7 @@ authors = [
|
|||
]
|
||||
|
||||
[dependencies]
|
||||
minicbor = { version = "0.13" }
|
||||
minicbor = { version = "0.14" }
|
||||
hex = "0.4"
|
||||
cryptoxide = { version = "0.4.1" }
|
||||
thiserror = "1.0"
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ impl<'a, const BYTES: usize> Decode<'a> for Hash<BYTES> {
|
|||
} else {
|
||||
// TODO: minicbor does not allow for expecting a specific size byte array
|
||||
// (in fact cbor is not good at it at all anyway)
|
||||
Err(minicbor::decode::Error::Message("Invalid hash size"))
|
||||
Err(minicbor::decode::Error::message("Invalid hash size"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue