projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
15e1416
)
Allow `unused_variables` for one `_test_vectors` method
author
Elias Rohrer
<dev@tnull.de>
Sat, 16 Dec 2023 18:04:52 +0000
(19:04 +0100)
committer
Elias Rohrer
<dev@tnull.de>
Mon, 18 Dec 2023 07:53:28 +0000
(08:53 +0100)
lightning/src/util/crypto.rs
patch
|
blob
|
history
diff --git
a/lightning/src/util/crypto.rs
b/lightning/src/util/crypto.rs
index bb5903b2c8d166783c8b6a275441282e9e7d1b27..98963c7c2bd4fd823c614e25b50dd1785d8dbab2 100644
(file)
--- a/
lightning/src/util/crypto.rs
+++ b/
lightning/src/util/crypto.rs
@@
-64,6
+64,7
@@
pub fn sign<C: Signing>(ctx: &Secp256k1<C>, msg: &Message, sk: &SecretKey) -> Si
}
#[inline]
+#[allow(unused_variables)]
pub fn sign_with_aux_rand<C: Signing, ES: Deref>(
ctx: &Secp256k1<C>, msg: &Message, sk: &SecretKey, entropy_source: &ES
) -> Signature where ES::Target: EntropySource {