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 4f922f0 commit 3efa95cCopy full SHA for 3efa95c
src/message.rs
@@ -66,7 +66,7 @@ impl DataHash {
66
67
/// Converts the [`DataHash`] into a 17-byte array tagged with
68
/// length prefix (16).
69
- fn into_tagged_bytes(self) -> [u8; 17] {
+ pub fn into_tagged_bytes(self) -> [u8; 17] {
70
let mut bytes = [0u8; 17];
71
bytes[0] = 16;
72
bytes[1..].copy_from_slice(self.0.as_slice());
0 commit comments