Skip to content

Commit

Permalink
Rename fake_sync_behaviour to fake_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
kettlebell committed Apr 9, 2023
1 parent 1fd9db3 commit 7d1c7b4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spectrum-network/src/protocol_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use std::task::{Context, Poll};

pub mod codec;
#[cfg(feature = "integration_tests")]
pub mod fake_sync_behaviour;
pub mod fake_sync;
pub mod sync;
pub mod versioning;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::{
use libp2p::core::upgrade;

#[cfg(feature = "integration_tests")]
use crate::protocol_handler::fake_sync_behaviour::FakeSyncSpec;
use crate::protocol_handler::fake_sync::FakeSyncSpec;
use crate::{
protocol::SYNC_PROTOCOL_ID,
protocol_handler::sync::message::SyncSpec,
Expand Down
2 changes: 1 addition & 1 deletion spectrum-network/tests/integration_tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use spectrum_network::{
protocol::{ProtocolConfig, ProtocolSpec, SYNC_PROTOCOL_ID},
protocol_api::ProtocolMailbox,
protocol_handler::{
fake_sync_behaviour::{FakeSyncBehaviour, FakeSyncMessage, FakeSyncMessageV1},
fake_sync::{FakeSyncBehaviour, FakeSyncMessage, FakeSyncMessageV1},
sync::{
message::{SyncMessage, SyncMessageV1, SyncSpec},
NodeStatus, SyncBehaviour,
Expand Down

0 comments on commit 7d1c7b4

Please sign in to comment.