mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-02 00:41:07 +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
@@ -590,7 +590,7 @@ fn runtime_version<Block: BlockT, F: Fetcher<Block>>(
|
||||
)
|
||||
.then(|version| ready(version.and_then(|version|
|
||||
Decode::decode(&mut &version.0[..])
|
||||
.map_err(|e| client_err(ClientError::VersionInvalid(e.what().into())))
|
||||
.map_err(|e| client_err(ClientError::VersionInvalid(e.to_string())))
|
||||
)))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user