aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/peer
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2023-12-02 05:10:33 +0300
committerhozan23 <hozan23@proton.me>2023-12-02 05:10:33 +0300
commit8cdc44b24724acf7dd458e59f5ceed4af04574be (patch)
tree1e0aad5a905508c54f7d9be4d4b800b7e8f7d532 /p2p/src/peer
parent5111a3d5749625c3d8e26a24a5a32c4da58f18d3 (diff)
Ensure uniform usage of the name `karyon` across all files
Diffstat (limited to 'p2p/src/peer')
-rw-r--r--p2p/src/peer/mod.rs4
-rw-r--r--p2p/src/peer/peer_id.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/p2p/src/peer/mod.rs b/p2p/src/peer/mod.rs
index 37c0e2a..1e98f1b 100644
--- a/p2p/src/peer/mod.rs
+++ b/p2p/src/peer/mod.rs
@@ -10,14 +10,14 @@ use smol::{
lock::RwLock,
};
-use karyons_core::{
+use karyon_core::{
async_util::{select, Either, TaskGroup, TaskResult},
event::{ArcEventSys, EventListener, EventSys},
util::{decode, encode},
GlobalExecutor,
};
-use karyons_net::Endpoint;
+use karyon_net::Endpoint;
use crate::{
codec::{Codec, CodecMsg},
diff --git a/p2p/src/peer/peer_id.rs b/p2p/src/peer/peer_id.rs
index 0208e05..f907aa7 100644
--- a/p2p/src/peer/peer_id.rs
+++ b/p2p/src/peer/peer_id.rs
@@ -2,7 +2,7 @@ use bincode::{Decode, Encode};
use rand::{rngs::OsRng, RngCore};
use sha2::{Digest, Sha256};
-use karyons_core::crypto::PublicKey;
+use karyon_core::crypto::PublicKey;
use crate::Error;