There is no package called github.com/ethereum/go-ethereum/ethash perhaps you meant github.com/ethereum/go-ethereum/consensus/ethash
On Saturday, January 21, 2023 at 2:17:01 PM UTC ramki...@hotmail.com wrote: > Example/Test Code: > > https://pastebin.com/PaeuHuJx > > But I get the error > > go run main.go > main.go:11:2: no required module provides package > github.com/ethereum/go-ethereum/ethash; to add it: > go get github.com/ethereum/go-ethereum/ethash > tt@ubuntu:~/go/src/testing$ go get github.com/ethereum/go-ethereum/ethash > go: module github.com/ethereum/go-ethereum@upgrade found (v1.10.26), but > does not contain package github.com/ethereum/go-ethereum/ethash > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b5384534-1657-4387-b4f0-57ad9ba0be22n%40googlegroups.com.