ed25519consensus icon indicating copy to clipboard operation
ed25519consensus copied to clipboard

Variable Assignment Error

Open sawyerru opened this issue 3 years ago • 2 comments

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\[email protected]\batch.go:54:4: assignment mismatch: 1 variable but new(edwards25519.Scalar).SetUniformBytes returns 2 values ..\..\..\..\..\go\pkg\mod\github.com\hdevalence\[email protected]\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 avatar Feb 14 '22 16:02 sawyerru

This issue would will be resolved once PR is merged

sawyerru avatar Feb 14 '22 20:02 sawyerru

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

yifanes avatar Mar 24 '22 09:03 yifanes

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

FiloSottile avatar Sep 11 '22 12:09 FiloSottile