Skip to content

Commit e36f204

Browse files
committed
ci fixes
1 parent bc72994 commit e36f204

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/cont_integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
- name: Update toolchain
155155
run: rustup update
156156
- name: Check
157-
run: cargo check --target wasm32-unknown-unknown --features use-esplora-async --no-default-features
157+
run: cargo check --target wasm32-unknown-unknown --features use-esplora-async,dev-getrandom-wasm --no-default-features
158158

159159
fmt:
160160
name: Rust fmt

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ bitcoincore-rpc = { version = "0.16", optional = true }
4444
tokio = { version = "1", features = ["rt"] }
4545

4646
[target.'cfg(target_arch = "wasm32")'.dependencies]
47+
getrandom = "0.2"
4748
async-trait = "0.1"
4849
js-sys = "0.3"
4950

@@ -97,10 +98,13 @@ test-esplora = ["electrsd/legacy", "electrsd/esplora_a33e97e1", "electrsd/bitcoi
9798
test-md-docs = ["electrum"]
9899
test-hardware-signer = ["hardware-signer"]
99100

101+
dev-getrandom-wasm = ["getrandom/js"]
102+
100103
[dev-dependencies]
101104
lazy_static = "1.4"
102105
env_logger = "0.7"
103106
electrsd = "0.21"
107+
base64 = "^0.13"
104108

105109
[[example]]
106110
name = "compact_filters_balance"

src/keys/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ impl<Ctx: ScriptContext + 'static> ExtScriptContext for Ctx {
224224
/// use bdk::bitcoin::PublicKey;
225225
///
226226
/// use bdk::keys::{
227-
/// mainnet_network, DescriptorKey, DescriptorPublicKey, SinglePub,
228-
/// IntoDescriptorKey, KeyError, ScriptContext, SinglePubKey,
227+
/// mainnet_network, DescriptorKey, DescriptorPublicKey, IntoDescriptorKey, KeyError,
228+
/// ScriptContext, SinglePub, SinglePubKey,
229229
/// };
230230
///
231231
/// pub struct MyKeyType {

0 commit comments

Comments
 (0)