What changed, and why it matters
This commit only reformats a single Rust test file by splitting a long assert_eq! line into multiple lines. It does not change any executable code, logic, or security behavior.
No action required; this is a non-security code-style cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is a pure formatting change in rust/apps/tron/src/transaction/wrapped_tron.rs. It rewrites one assert_eq! macro call to span three lines instead of one, with identical string literal and expression content. No functional code, transaction parsing, cryptography, or memory handling is modified.
Changed components
rust/apps/tron/src/transaction/wrapped_tron.rs (test module only)Inspect captured patch +4 / −1
diff --git a/rust/apps/tron/src/transaction/wrapped_tron.rs b/rust/apps/tron/src/transaction/wrapped_tron.rs
index dd62924..864d1d0 100644
--- a/rust/apps/tron/src/transaction/wrapped_tron.rs
+++ b/rust/apps/tron/src/transaction/wrapped_tron.rs
@@ -892,6 +892,9 @@ mod tests {
let payload = prepare_payload(hex);
let context = prepare_parse_context(pubkey_str);
let tx = WrappedTron::from_payload(payload, &context).unwrap();
- assert_eq!("=:ETH.USDT:0x742636d8FBD2C1dD721Db619b49eaD254385D77d:3816100/3/0:-_/nc:20/0", tx.memo);
+ assert_eq!(
+ "=:ETH.USDT:0x742636d8FBD2C1dD721Db619b49eaD254385D77d:3816100/3/0:-_/nc:20/0",
+ tx.memo
+ );
}
}
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.