Skip to content

Commit

Permalink
compromise
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Coats committed Sep 13, 2023
1 parent fa67f61 commit 2f1489f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/src/types/block/address/bech32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pub struct Hrp {
impl core::fmt::Debug for Hrp {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
f.debug_struct("Hrp")
.field("display", &self.to_string())
.field("inner", &prefix_hex::encode(&self.inner[..self.len as usize]))
.field("len", &self.len)
.finish()
Expand Down

0 comments on commit 2f1489f

Please sign in to comment.