aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/src/lib.rs')
-rw-r--r--p2p/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/p2p/src/lib.rs b/p2p/src/lib.rs
index 546353a..ebc51d8 100644
--- a/p2p/src/lib.rs
+++ b/p2p/src/lib.rs
@@ -63,7 +63,6 @@ pub mod protocol;
pub use backend::{ArcBackend, Backend};
pub use config::Config;
-pub use error::Error as P2pError;
pub use peer::{ArcPeer, PeerID};
pub use version::Version;
@@ -75,4 +74,4 @@ pub mod keypair {
pub use karyon_core::crypto::{KeyPair, KeyPairType, PublicKey, SecretKey};
}
-use error::{Error, Result};
+pub use error::{Error, Result};