Skip to content

Commit

Permalink
remove XChain
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Jan 29, 2025
1 parent d72bfce commit 2180f54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 119 deletions.
6 changes: 6 additions & 0 deletions seals/src/txout/blind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ pub struct BlindSeal<Id: SealTxid> {
pub blinding: u64,
}

impl<Id: SealTxid> BlindSeal<Id> {
/// Converts revealed seal into concealed.
#[inline]
pub fn to_secret_seal(&self) -> SecretSeal { self.conceal() }

Check warning on line 75 in seals/src/txout/blind.rs

View check run for this annotation

Codecov / codecov/patch

seals/src/txout/blind.rs#L75

Added line #L75 was not covered by tests
}

impl<Id: SealTxid> Conceal for BlindSeal<Id> {
type Concealed = SecretSeal;

Expand Down
114 changes: 0 additions & 114 deletions src/bp.rs

This file was deleted.

6 changes: 1 addition & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,16 @@ pub extern crate seals;
#[cfg(feature = "stl")]
#[macro_use]
extern crate amplify;
#[cfg(feature = "stl")]
#[macro_use]
extern crate strict_encoding;
#[cfg(feature = "serde")]
#[macro_use]
extern crate serde_crate as serde;

#[cfg(feature = "stl")]
pub mod stl;
mod bp;

pub use ::bc::*;
#[cfg(feature = "stl")]
#[allow(missing_docs)]
pub mod bc {
pub use bc::stl;
}
pub use bp::Bp;

0 comments on commit 2180f54

Please sign in to comment.