Don't return misleading result with PostInfo in proxy-pallet (#9426)

also autoformatting two unrelated files

fixes #9421
This commit is contained in:
Falco Hirschenberger
2021-07-24 20:00:29 +02:00
committed by GitHub
parent 4e653bfa3c
commit b7dc3bc6f2
3 changed files with 16 additions and 17 deletions
@@ -788,7 +788,7 @@ pub enum ResponseFailure {
/// Implements the libp2p [`RequestResponseCodec`] trait. Defines how streams of bytes are turned
/// into requests and responses and vice-versa.
#[derive(Debug, Clone)]
#[doc(hidden)]// Needs to be public in order to satisfy the Rust compiler.
#[doc(hidden)] // Needs to be public in order to satisfy the Rust compiler.
pub struct GenericCodec {
max_request_size: u64,
max_response_size: u64,