diff --git a/src/bin/darkfid.rs b/src/bin/darkfid.rs index 45d22843c..e8f23c23e 100644 --- a/src/bin/darkfid.rs +++ b/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)); } }; diff --git a/src/bin/drk.rs b/src/bin/drk.rs index 554547d0d..7a7ed9eaf 100644 --- a/src/bin/drk.rs +++ b/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::()?;