mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-22 08:21:27 -04:00
Fix clippy warnings
This commit is contained in:
parent
606c48c752
commit
5971ef1f28
3 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue