Revert "make sure peer/error.s comments are up to date"
This reverts commit 6f205a1812
.
This commit is contained in:
parent
3b2077fcfd
commit
1a70d807b6
|
@ -8,9 +8,6 @@ use zebra_chain::serialization::SerializationError;
|
||||||
use crate::protocol::external::InventoryHash;
|
use crate::protocol::external::InventoryHash;
|
||||||
|
|
||||||
/// A wrapper around `Arc<PeerError>` that implements `Error`.
|
/// A wrapper around `Arc<PeerError>` that implements `Error`.
|
||||||
// TODO soon this Wrapper will not be necessary. Once
|
|
||||||
// https://github.com/rust-lang/rust/pull/80553 lands on stable we should
|
|
||||||
// replace this with a type alias.
|
|
||||||
#[derive(Error, Debug, Clone)]
|
#[derive(Error, Debug, Clone)]
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
pub struct SharedPeerError(Arc<TracedError<PeerError>>);
|
pub struct SharedPeerError(Arc<TracedError<PeerError>>);
|
||||||
|
|
Loading…
Reference in New Issue