From bfa925ae2bc8367d6efd8f3f61fbb08b03615b77 Mon Sep 17 00:00:00 2001 From: ordian Date: Mon, 18 Nov 2024 17:27:27 +0100 Subject: [PATCH] signer: enable schnorrkel/getrandom feature Without this I get a https://github.com/burdges/getrandom_or_panic/blob/8dc0f4d43c9aebfefcd0b8a226b40ef33e56f9c0/src/lib.rs#L21 from `getrandom_or_panic` crate in both wasm and regular no-std builds that try to sign something. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 03f862c6ba..3194eb25b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -155,7 +155,7 @@ bip39 = { version = "2.1.0", default-features = false } bip32 = { version = "0.5.2", default-features = false } hmac = { version = "0.12.1", default-features = false } pbkdf2 = { version = "0.12.2", default-features = false } -schnorrkel = { version = "0.11.4", default-features = false } +schnorrkel = { version = "0.11.4", default-features = false, features = ["getrandom"] } secp256k1 = { version = "0.30.0", default-features = false } keccak-hash = { version = "0.11.0", default-features = false } secrecy = "0.10.3"