Skip to content

Commit c8f88cf

Browse files
committed
remove XChain
1 parent d72bfce commit c8f88cf

File tree

3 files changed

+6
-121
lines changed

3 files changed

+6
-121
lines changed

seals/src/txout/blind.rs

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ pub struct BlindSeal<Id: SealTxid> {
6969
pub blinding: u64,
7070
}
7171

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+
7278
impl<Id: SealTxid> Conceal for BlindSeal<Id> {
7379
type Concealed = SecretSeal;
7480

src/bp.rs

-114
This file was deleted.

src/lib.rs

-7
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,13 @@ pub extern crate seals;
5050
#[cfg(feature = "stl")]
5151
#[macro_use]
5252
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;
5853

5954
#[cfg(feature = "stl")]
6055
pub mod stl;
61-
mod bp;
6256

6357
pub use ::bc::*;
6458
#[cfg(feature = "stl")]
6559
#[allow(missing_docs)]
6660
pub mod bc {
6761
pub use bc::stl;
6862
}
69-
pub use bp::Bp;

0 commit comments

Comments
 (0)