Skip to content

Commit

Permalink
Build: Go 1.21 Support (algorand#5994)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Wied <centromere@users.noreply.github.com>
  • Loading branch information
gmalouf and centromere authored May 8, 2024
1 parent 99561d6 commit eaff87d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions secp256k1/secp256_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package secp256k1
import (
"bytes"
"crypto/ecdsa"
"crypto/elliptic"
"crypto/rand"
"encoding/hex"
"io"
Expand All @@ -23,7 +22,7 @@ func generateKeyPair() (pubkey, privkey []byte) {
if err != nil {
panic(err)
}
pubkey = elliptic.Marshal(S256(), key.X, key.Y)
pubkey = S256().Marshal(key.X, key.Y)

privkey = make([]byte, 32)
blob := key.D.Bytes()
Expand Down

0 comments on commit eaff87d

Please sign in to comment.