node: Remove TODO about debugging token ID.

This commit is contained in:
parazyd
2022-08-09 18:54:14 +02:00
parent 51aa4eb767
commit 35e24d4551

View File

@@ -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))