Skip to content

Commit 3efa95c

Browse files
committed
fix(message): make into_tagged_bytes public
1 parent 4f922f0 commit 3efa95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl DataHash {
6666

6767
/// Converts the [`DataHash`] into a 17-byte array tagged with
6868
/// length prefix (16).
69-
fn into_tagged_bytes(self) -> [u8; 17] {
69+
pub fn into_tagged_bytes(self) -> [u8; 17] {
7070
let mut bytes = [0u8; 17];
7171
bytes[0] = 16;
7272
bytes[1..].copy_from_slice(self.0.as_slice());

0 commit comments

Comments
 (0)