build(deps): minicbor-0.14, minicbor-derive-0.9.0, fix build (#63)

This commit is contained in:
Rinor Hoxha 2022-02-28 15:01:39 +00:00 committed by GitHub
parent f0c0887390
commit 6f2d117f9d
8 changed files with 33 additions and 33 deletions

View file

@ -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"))
}
}
}