We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48ce60d + b3cd414 commit 2fccf8dCopy full SHA for 2fccf8d
src/ecdsa/mod.rs
@@ -59,7 +59,7 @@ impl Signature {
59
ffi::secp256k1_context_no_precomp,
60
&mut ret,
61
data.as_c_ptr(),
62
- data.len() as usize,
+ data.len(),
63
) == 1
64
{
65
Ok(Signature(ret))
@@ -105,7 +105,7 @@ impl Signature {
105
106
107
108
109
110
111
src/key.rs
@@ -486,7 +486,7 @@ impl PublicKey {
486
487
&mut pk,
488
489
490
491
492
Ok(PublicKey(pk))
0 commit comments