From faa45cf10fa072bf44fe5d631ee8e6ebabc676c4 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 23 Jan 2024 17:02:06 +1100 Subject: [PATCH] Remove stale comment This uses `hex-conservative` which is fast, remove the stale comment. --- bitcoin/src/pow.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/bitcoin/src/pow.rs b/bitcoin/src/pow.rs index 96d78577..a1ee1e1c 100644 --- a/bitcoin/src/pow.rs +++ b/bitcoin/src/pow.rs @@ -832,7 +832,6 @@ impl crate::serde::Serialize for U256 { } if serializer.is_human_readable() { - // TODO: fast hex encoding. serializer.collect_str(&DisplayHex(*self)) } else { let bytes = self.to_be_bytes();