chore: update some deps to prune duplicated deps (#14515)

* chore: update some deps to prune duplicated deps

- array-bytes: 4.1.0 => 6.1.0
- cid: 0.8.6 => 0.9.0

* fix
This commit is contained in:
Qinxuan Chen
2023-07-06 22:46:44 +08:00
committed by GitHub
parent 9c3ca04781
commit e8e2048b88
47 changed files with 126 additions and 163 deletions
+2 -2
View File
@@ -220,7 +220,7 @@ impl Serialize for Signature {
where
S: Serializer,
{
serializer.serialize_str(&array_bytes::bytes2hex("", self.as_ref()))
serializer.serialize_str(&array_bytes::bytes2hex("", self))
}
}
@@ -552,7 +552,7 @@ mod test {
let derived = pair.derive(path.into_iter(), None).ok().unwrap();
assert_eq!(
derived.0.seed(),
array_bytes::hex2array_unchecked::<32>(
array_bytes::hex2array_unchecked::<_, 32>(
"b8eefc4937200a8382d00050e050ced2d4ab72cc2ef1b061477afb51564fdd61"
)
);