clean up debug messages

This commit is contained in:
ghassmo
2021-10-07 09:33:08 +03:00
parent 56ef0af458
commit c12f64ab78
2 changed files with 1 additions and 3 deletions

View File

@@ -320,7 +320,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));
}
};
@@ -333,7 +332,6 @@ impl Darkfid {
match send_request(&self.config.cashier_rpc_url, json!(req)).await {
Ok(v) => rep = v,
Err(e) => {
debug!(target: "DARKFID", "REQUEST IS ERR");
return JsonResult::Err(jsonerr(ServerError(-32004), Some(e.to_string()), id));
}
}

View File

@@ -488,7 +488,7 @@ impl State {
self.wallet.put_own_coins(own_coin)?;
let pub_key = zcash_primitives::constants::SPENDING_KEY_GENERATOR * secret;
debug!(target: "CLIENT STATE", "Received a coin: amount {} from {}", note.value, pub_key);
debug!(target: "CLIENT STATE", "Received a coin: amount {} ", note.value);
debug!(target: "CLIENT STATE", "Send a notification");