File tree 3 files changed +6
-121
lines changed
3 files changed +6
-121
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,12 @@ pub struct BlindSeal<Id: SealTxid> {
69
69
pub blinding : u64 ,
70
70
}
71
71
72
+ impl < Id : SealTxid > BlindSeal < Id > {
73
+ /// Converts revealed seal into concealed.
74
+ #[ inline]
75
+ pub fn to_secret_seal ( & self ) -> SecretSeal { self . conceal ( ) }
76
+ }
77
+
72
78
impl < Id : SealTxid > Conceal for BlindSeal < Id > {
73
79
type Concealed = SecretSeal ;
74
80
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -50,20 +50,13 @@ pub extern crate seals;
50
50
#[ cfg( feature = "stl" ) ]
51
51
#[ macro_use]
52
52
extern crate amplify;
53
- #[ macro_use]
54
- extern crate strict_encoding;
55
- #[ cfg( feature = "serde" ) ]
56
- #[ macro_use]
57
- extern crate serde_crate as serde;
58
53
59
54
#[ cfg( feature = "stl" ) ]
60
55
pub mod stl;
61
- mod bp;
62
56
63
57
pub use :: bc:: * ;
64
58
#[ cfg( feature = "stl" ) ]
65
59
#[ allow( missing_docs) ]
66
60
pub mod bc {
67
61
pub use bc:: stl;
68
62
}
69
- pub use bp:: Bp ;
You can’t perform that action at this time.
0 commit comments