hdevalence / ed25519consensus

Go Ed25519 suitable for use in consensus-critical contexts.
BSD 3-Clause "New" or "Revised" License
50 stars 11 forks source link

Variable Assignment Error #13

Closed sawyerru closed 2 years ago

sawyerru commented 2 years ago

Hello,

This package is a lower dependency in my project and on runtime, this error is occuring:

# github.com/hdevalence/ed25519consensus ..\..\..\..\..\go\pkg\mod\github.com\hdevalence\ed25519consensus@v0.0.0-20210204194344-59a8610d2b87\batch.go:54:4: assignment mismatch: 1 variable but new(edwards25519.Scalar).SetUniformBytes returns 2 values ..\..\..\..\..\go\pkg\mod\github.com\hdevalence\ed25519consensus@v0.0.0-20210204194344-59a8610d2b87\ed25519.go:42:11: assignment mismatch: 1 variable but new(edwards25519.Scalar).SetUniformBytes returns 2 values

Was this issue fixed in a separate commit? it looks like my dependency is locked onto a particular commit hash.

Thanks for any info.

sawyerru commented 2 years ago

This issue would will be resolved once PR is merged

yifanes commented 2 years ago

@sawyerru Have you solved this problem? I also encountered this problem

FiloSottile commented 2 years ago

This was fixed by #12, make sure you're using version v0.0.0-20220222234857-c00d1f31bab3 or later.