We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c94590 commit 80c5288Copy full SHA for 80c5288
storage/src/node/branch.rs
@@ -201,6 +201,9 @@ mod ethhash {
201
Rlp(SmallVec<[u8; 32]>),
202
}
203
204
+ /// Manual implementation of [`Debug`](std::fmt::Debug) so that the RLP bytes
205
+ /// are displayed as hex rather than raw bytes, which is more useful for
206
+ /// debugging purposes.
207
impl std::fmt::Debug for HashOrRlp {
208
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
209
match self {
0 commit comments