File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ impl TaggedHash {
41
41
/// Creates a tagged hash with the given parameters.
42
42
///
43
43
/// Panics if `bytes` is not a well-formed TLV stream containing at least one TLV record.
44
- pub fn from_valid_tlv_stream_bytes ( tag : & ' static str , bytes : & [ u8 ] ) -> Self {
44
+ pub ( super ) fn from_valid_tlv_stream_bytes ( tag : & ' static str , bytes : & [ u8 ] ) -> Self {
45
45
let tlv_stream = TlvStream :: new ( bytes) ;
46
46
Self :: from_tlv_stream ( tag, tlv_stream)
47
47
}
@@ -94,7 +94,7 @@ pub enum SignError {
94
94
}
95
95
96
96
/// A function for signing a [`TaggedHash`].
97
- pub ( super ) trait SignFn < T : AsRef < TaggedHash > > {
97
+ pub trait SignFn < T : AsRef < TaggedHash > > {
98
98
/// Signs a [`TaggedHash`] computed over the merkle root of `message`'s TLV stream.
99
99
fn sign ( & self , message : & T ) -> Result < Signature , ( ) > ;
100
100
}
You can’t perform that action at this time.
0 commit comments