mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
node: Remove TODO about debugging token ID.
This commit is contained in:
@@ -2,6 +2,7 @@ use async_std::sync::{Arc, Mutex};
|
||||
use incrementalmerkletree::{bridgetree::BridgeTree, Tree};
|
||||
use lazy_init::Lazy;
|
||||
use log::{debug, error, info};
|
||||
use pasta_curves::group::ff::PrimeField;
|
||||
|
||||
use super::state::{state_transition, State};
|
||||
use crate::{
|
||||
@@ -155,8 +156,11 @@ impl Client {
|
||||
clear_input: bool,
|
||||
state: Arc<Mutex<State>>,
|
||||
) -> ClientResult<Transaction> {
|
||||
// TODO: Token id debug
|
||||
debug!("send(): Sending {}", amount);
|
||||
debug!(
|
||||
"send(): Sending {} {} tokens",
|
||||
amount,
|
||||
bs58::encode(token_id.to_repr()).into_string()
|
||||
);
|
||||
|
||||
if amount == 0 {
|
||||
return Err(ClientFailed::InvalidAmount(0))
|
||||
|
||||
Reference in New Issue
Block a user