Remove stale comment

This uses `hex-conservative` which is fast, remove the stale comment.
This commit is contained in:
Tobin C. Harding 2024-01-23 17:02:06 +11:00
parent c82f26e960
commit faa45cf10f
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 0 additions and 1 deletions

View File

@ -832,7 +832,6 @@ impl crate::serde::Serialize for U256 {
} }
if serializer.is_human_readable() { if serializer.is_human_readable() {
// TODO: fast hex encoding.
serializer.collect_str(&DisplayHex(*self)) serializer.collect_str(&DisplayHex(*self))
} else { } else {
let bytes = self.to_be_bytes(); let bytes = self.to_be_bytes();