mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Fix clippy warnings
This commit is contained in:
parent
606c48c752
commit
5971ef1f28
@ -28,7 +28,6 @@ use crate::{
|
||||
network::{
|
||||
peer_tracker::{self, PeerTracker},
|
||||
request_response::AliceToBob,
|
||||
transport,
|
||||
transport::SwapTransport,
|
||||
TokioExecutor,
|
||||
},
|
||||
|
@ -27,7 +27,6 @@ use crate::{
|
||||
monero,
|
||||
network::{
|
||||
peer_tracker::{self, PeerTracker},
|
||||
transport,
|
||||
transport::SwapTransport,
|
||||
TokioExecutor,
|
||||
},
|
||||
|
@ -57,7 +57,7 @@ async fn main() -> Result<()> {
|
||||
let behaviour = Alice::default();
|
||||
let local_key_pair = behaviour.identity();
|
||||
|
||||
let (listen_addr, ac, transport) = match tor_port {
|
||||
let (listen_addr, _ac, transport) = match tor_port {
|
||||
Some(tor_port) => {
|
||||
let tor_secret_key = torut::onion::TorSecretKeyV3::generate();
|
||||
let onion_address = tor_secret_key
|
||||
|
Loading…
Reference in New Issue
Block a user