Skip to content

Commit 67cb179

Browse files
OttoAllmendingerllm-git
andcommitted
feat(wasm-utxo): export bitcoin from miniscript crate
Re-export bitcoin from miniscript to support transition to a more general bitcoin package. This provides easier access to the bitcoin module. Issue: BTC-2652 Co-authored-by: llm-git <[email protected]>
1 parent 3e1d662 commit 67cb179

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/wasm-utxo/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ mod miniscript;
44
mod psbt;
55
mod try_into_js_value;
66

7+
// re-export bitcoin from the miniscript crate
8+
// this package is transitioning to a all-purpose bitcoin package, so we want easy access
9+
pub use ::miniscript::bitcoin;
10+
711
pub use descriptor::WrapDescriptor;
812
pub use miniscript::WrapMiniscript;
913
pub use psbt::WrapPsbt;

0 commit comments

Comments
 (0)