fix reference to SigningTarget.message instead of cloned signing target

This commit is contained in:
conduition 2024-03-16 04:37:53 +00:00 committed by zebra-lucky
parent 1c085ba38a
commit c1b8663acb
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ where
// Verify the aggregate signature
let verification_result = pubkeys
.verifying_key
.verify(signing_package.message(), &signature);
.verify(signing_package.sig_target.clone(), &signature);
// Only if the verification of the aggregate signature failed; verify each share to find the cheater.
// This approach is more efficient since we don't need to verify all shares