crypto/secp256k1: add workaround for go mod vendor (#21735)
Go won't vendor C files if there are no Go files present in the directory. Workaround is to add dummy Go files. Fixes: #20232
This commit is contained in:
7
crypto/secp256k1/libsecp256k1/contrib/dummy.go
Normal file
7
crypto/secp256k1/libsecp256k1/contrib/dummy.go
Normal file
@ -0,0 +1,7 @@
|
||||
// +build dummy
|
||||
|
||||
// Package c contains only a C file.
|
||||
//
|
||||
// This Go file is part of a workaround for `go mod vendor`.
|
||||
// Please see the file crypto/secp256k1/dummy.go for more information.
|
||||
package contrib
|
Reference in New Issue
Block a user