We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e33fc7c commit 0361080Copy full SHA for 0361080
mithril-stm/src/bls_multi_signature/signature.rs
@@ -50,7 +50,7 @@ impl BlsSignature {
50
.finalize();
51
52
let mut output = [0u8; 64];
53
- output.copy_from_slice(hasher.as_slice());
+ output.copy_from_slice(&hasher);
54
55
output
56
}
@@ -117,7 +117,7 @@ impl BlsSignature {
117
let mut hasher = hashed_sigs.clone();
118
hasher.update(index.to_be_bytes());
119
signatures.push(sig.0);
120
- scalars.extend_from_slice(hasher.finalize().as_slice());
+ scalars.extend_from_slice(&hasher.finalize());
121
122
123
let transmuted_vks: Vec<blst_p2> = vks.iter().map(vk_from_p2_affine).collect();
0 commit comments