mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-14 22:57:06 +00:00
Update parity-scale-codec to 2.0 (#7994)
* update cargo.toml * use 2.0 in mmmr
This commit is contained in:
1 parent
bea4a6524d
commit
f48296e9ad
179 files changed
+316
-383
No files matched your search
@@ -41,7 +41,7 @@ fn load_decode<C, T>(backend: &C, key: &[u8]) -> ClientResult<Option<T>>
|
||||
None => Ok(None),
|
||||
Some(t) => T::decode(&mut &t[..])
|
||||
.map_err(
|
||||
|e| ClientError::Backend(format!("Slots DB is corrupted. Decode error: {}", e.what())),
|
||||
|e| ClientError::Backend(format!("Slots DB is corrupted. Decode error: {}", e)),
|
||||
)
|
||||
.map(Some)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user