w3f / schnorrkel

Schnorr VRFs and signatures on the Ristretto group
BSD 3-Clause "New" or "Revised" License
315 stars 94 forks source link

Remove thread_rng from derive.rs #50

Closed burdges closed 5 years ago

burdges commented 5 years ago

We do use randomness when doing HDKD in https://docs.rs/schnorrkel/0.1.1/src/schnorrkel/derive.rs.html#177 which I should probably replace with a t.witness_bytes call so that you can replace thread_rng using attach_rng. via https://github.com/paritytech/substrate/pull/3778#issuecomment-539336430

burdges commented 5 years ago

Already fixed this ages ago.