mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
Update parity-scale-codec to 2.0 (#7994)
* update cargo.toml * use 2.0 in mmmr
This commit is contained in:
committed by
GitHub
parent
bea4a6524d
commit
f48296e9ad
@@ -656,7 +656,7 @@ impl<B: BlockT, H: ExHashT> Protocol<B, H> {
|
||||
"Couldn't decode packet sent by {}: {:?}: {}",
|
||||
who,
|
||||
data,
|
||||
err.what(),
|
||||
err,
|
||||
);
|
||||
self.peerset_handle.report_peer(who, rep::BAD_MESSAGE);
|
||||
return CustomMessageOutcome::None;
|
||||
@@ -1737,7 +1737,7 @@ impl<B: BlockT, H: ExHashT> NetworkBehaviour for Protocol<B, H> {
|
||||
"Couldn't decode handshake sent by {}: {:?}: {} & {}",
|
||||
peer_id,
|
||||
received_handshake,
|
||||
err.what(),
|
||||
err,
|
||||
err2,
|
||||
);
|
||||
self.peerset_handle.report_peer(peer_id, rep::BAD_MESSAGE);
|
||||
|
||||
Reference in New Issue
Block a user