Closed DaniPopes closed 3 weeks ago
In: https://github.com/rust-bitcoin/rust-secp256k1/blob/bb4972f20fb5a1681a103ffd4d3c27cf31679278/src/context.rs#L44-L63
Secp256k1::new itself calls randomize with rand: https://github.com/rust-bitcoin/rust-secp256k1/blob/bb4972f20fb5a1681a103ffd4d3c27cf31679278/src/context.rs#L206-L234
Secp256k1::new
randomize
Is this intended? If not, the call in deref should be dropped.
deref
Good catch. Yeah, let's drop the one in deref.
cc #388
In: https://github.com/rust-bitcoin/rust-secp256k1/blob/bb4972f20fb5a1681a103ffd4d3c27cf31679278/src/context.rs#L44-L63
Secp256k1::new
itself callsrandomize
with rand: https://github.com/rust-bitcoin/rust-secp256k1/blob/bb4972f20fb5a1681a103ffd4d3c27cf31679278/src/context.rs#L206-L234Is this intended? If not, the call in
deref
should be dropped.