ghassmo 4 лет назад
Родитель
Сommit
bc1ee9f25b
2 измененных файлов с 0 добавлено и 3 удалено
  1. 0 1
      src/bin/darkfid.rs
  2. 0 2
      src/bin/drk.rs

+ 0 - 1
src/bin/darkfid.rs

@@ -213,7 +213,6 @@ impl Darkfid {
         let token_id = match assign_id(&network, &token, &self.sol_tokenlist.clone()) {
             Ok(t) => t,
             Err(e) => {
-                debug!(target: "DARKFID", "TOKEN ID IS ERR");
                 return JsonResult::Err(jsonerr(InternalError, Some(e.to_string()), id));
             }
         };

+ 0 - 2
src/bin/drk.rs

@@ -180,7 +180,6 @@ async fn start(config: &DrkConfig, options: ArgMatches<'_>) -> Result<()> {
 
     if let Some(matches) = options.subcommand_matches("deposit") {
         let network = matches.value_of("network").unwrap().to_lowercase();
-        //  TODO: check that it's a tokenID and not a symbol
         let token = matches.value_of("TOKENID").unwrap();
 
         client.check_network(&NetworkName::from_str(&network)?).await?;
@@ -197,7 +196,6 @@ async fn start(config: &DrkConfig, options: ArgMatches<'_>) -> Result<()> {
 
     if let Some(matches) = options.subcommand_matches("withdraw") {
         let network = matches.value_of("network").unwrap().to_lowercase();
-        //  TODO: check that it's a tokenID and not a symbol
         let token = matches.value_of("TOKENID").unwrap();
         let address = matches.value_of("ADDRESS").unwrap();
         let amount = matches.value_of("AMOUNT").unwrap().parse::<f64>()?;