diff --git a/crates/shielded_token/src/masp/shielded_wallet.rs b/crates/shielded_token/src/masp/shielded_wallet.rs index a8b38dec27..136561ed46 100644 --- a/crates/shielded_token/src/masp/shielded_wallet.rs +++ b/crates/shielded_token/src/masp/shielded_wallet.rs @@ -472,6 +472,11 @@ pub trait ShieldedApi: ) -> Option { // Try to find the decoding in the cache if let decoded @ Some(_) = self.asset_types.get(&asset_type) { + tracing::debug!( + "Asset type: {}, found cached data: {:#?}", + asset_type, + decoded + ); return decoded.cloned(); } // Query for the ID of the last accepted transaction @@ -1701,6 +1706,10 @@ pub trait ShieldedApi: if self.decode_asset_type(client, asset_type).await.is_none() { // If we fail to decode the epoched asset type, then remove the // epoch + tracing::debug!( + "Failed to decode epoched asset type, undating it: {:#?}", + decoded + ); decoded.undate(); asset_type = decoded .encode()