plugeth/wrapmain/main.go
Roy Crihfield e9c8a528d4 Use external main module
* renames main package so it's importable
* adds wrapmain sub-module as main module
2024-03-13 23:56:05 +00:00

8 lines
265 B
Go

// Workaround for plugin version mismatch issue: https://github.com/golang/go/issues/31354
// By wrapping geth as a dependency, its module path matches that in the plugin.
package main
import "github.com/ethereum/go-ethereum/cmd/geth"
func main() { geth.Main() }