Skip to content

Commit

Permalink
keep init_p2p_context private
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Sep 24, 2024
1 parent 1a3bb84 commit 5605a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/mm2_main/src/ordermatch_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,7 @@ fn pubkey_and_secret_for_test(passphrase: &str) -> (String, [u8; 32]) {
(pubkey, secret)
}

pub(crate) fn init_p2p_context(ctx: &MmArc) -> (mpsc::Sender<AdexBehaviourCmd>, mpsc::Receiver<AdexBehaviourCmd>) {
fn init_p2p_context(ctx: &MmArc) -> (mpsc::Sender<AdexBehaviourCmd>, mpsc::Receiver<AdexBehaviourCmd>) {
let (cmd_tx, cmd_rx) = mpsc::channel(10);

let p2p_key = {
Expand Down

0 comments on commit 5605a00

Please sign in to comment.