Skip to content

Commit

Permalink
add explanation to tracing event
Browse files Browse the repository at this point in the history
  • Loading branch information
hdevalence authored and erwanor committed Jul 21, 2023
1 parent b60ac4e commit c78377d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl KeyHash {
let key_hash = Self(H::hash(key.as_ref()));
// Adding a tracing event here allows cross-referencing the key hash
// with the original key bytes when looking through logs.
tracing::debug!(key = ?EscapedByteSlice(key.as_ref()), ?key_hash);
tracing::debug!(key = ?EscapedByteSlice(key.as_ref()), ?key_hash, "hashed jmt key");
key_hash
}
}
Expand Down

0 comments on commit c78377d

Please sign in to comment.