mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
clean up debug messages
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user