Commit d2275f4
authored
Fix ed25519 signature usage in getProof (#2472)
Corrected the implementation of the getProof function to use the
standard ed25519.Sign method for generating signatures. The previous
code incorrectly attempted to use a non-existent Sign method on
ed25519.PrivateKey, which would not compile. This change ensures proper
and secure signature generation according to the Go standard library.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved reliability of signature generation for proofs, ensuring more
consistent and secure handling of digital signatures.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 110ca3e commit d2275f4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
0 commit comments