mirror of
https://github.com/mii443/merkle_sigs.rs.git
synced 2025-08-22 16:05:42 +00:00
Remove unnecessary mut
modifier
This commit is contained in:
@ -79,7 +79,7 @@ where
|
||||
let signatures_opt = leaf_keys
|
||||
.iter_mut()
|
||||
.zip(data.iter())
|
||||
.map(|(mut priv_key, data)| priv_key.sign(data.as_ref()))
|
||||
.map(|(priv_key, data)| priv_key.sign(data.as_ref()))
|
||||
.collect::<Result<Vec<_>, _>>();
|
||||
|
||||
match (signatures_opt, proofs_opt) {
|
||||
|
Reference in New Issue
Block a user