Skip to content

Commit

Permalink
removed unused import comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEgao committed Feb 9, 2025
1 parent 23dcab9 commit 5b190cb
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/bin/directory-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use coinswap::{
},
utill::{read_message, send_message, setup_directory_logger},
};
//use dirs::data_dir;

/// directory-cli is a command line app to send RPC messages to directory server.
#[derive(Parser, Debug)]
Expand Down
1 change: 0 additions & 1 deletion src/bin/directoryd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use coinswap::{
utill::{parse_proxy_auth, setup_directory_logger, ConnectionType},
wallet::RPCConfig,
};
//use dirs::data_dir;

use std::{path::PathBuf, sync::Arc};

Expand Down
1 change: 0 additions & 1 deletion src/bin/maker-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use coinswap::{
maker::{MakerError, RpcMsgReq, RpcMsgResp},
utill::{read_message, send_message, setup_maker_logger},
};
//use dirs::data_dir;

/// A simple command line app to operate the makerd server.
///
Expand Down
1 change: 0 additions & 1 deletion src/bin/makerd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use coinswap::{
utill::{parse_proxy_auth, setup_maker_logger, ConnectionType},
wallet::RPCConfig,
};
//use dirs::data_dir;
use std::{path::PathBuf, sync::Arc};
/// Coinswap Maker Server
///
Expand Down
1 change: 0 additions & 1 deletion src/bin/taker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use coinswap::{
utill::{parse_proxy_auth, setup_taker_logger, ConnectionType, REQUIRED_CONFIRMS, UTXO},
wallet::{Destination, RPCConfig, SendAmount},
};
//use dirs::data_dir;
use log::LevelFilter;
use serde_json::{json, to_string_pretty};
use std::{path::PathBuf, str::FromStr};
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/direct_send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ impl Wallet {
/// ### Behavior
/// - If [SendAmount::Max] is used, the function creates a transaction for the maximum possible
/// value to the specified destination.
/// - If [SendAmount::Amount] is used, a custom value is sent, and any remaining funds
/// are held in a change address, if applicable.
/// - If [SendAmount::Amount] is used, a custom value is sent, and any remaining funds are held in a change address, if applicable.
pub fn spend_from_wallet(
&mut self,
fee: Amount,
Expand Down

0 comments on commit 5b190cb

Please sign in to comment.