-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Unable to build Hacash code, after changes to [core/actions/diamond.go], via commit # 425d0f2 [DoMultipleDiamondTransfer]
Following instructions from document [https://github.com/hacash/paper/blob/master/build/build_compilation.md] the following commands were executed on a Ubuntu/Linux machine running [lsb_release -a | 23.10 mantix], Go [go version go1.16.15 linux/amd64]
Prior to executing these commands, the [Hacash] repository was cleaned and repopulated
export GO111MODULE="auto"
cd $GOPATH/src/github.com/hacash
go build -ldflags '-w -s' -o poolminer_2024_03_31 miner/run/minerpoolworker/main.go
github.com/hacash/core/actions
core/actions/diamond.go:1188:8: undefined: any
core/actions/diamond.go:1245:8: undefined: any
core/actions/diamond.go:1365:8: undefined: any
core/actions/diamond.go:1423:8: undefined: any
du -a | grep poolminer_2024_03_31
No executable was produced
Next, I went online to check for changes in [core/actions/diamond.go]
There was a recent change, via commit # 425d0f2 [DoMultipleDiamondTransfer]
Following is a summary of the changes that caused the compile failure:
- Line # 1188 added + panic(any("never call this!"))
- Line # 1245 added + panic(any("never call this!"))
- Line # 1365 added + panic(any("never call this!"))
- Line # 1423 added + panic(any("never call this!"))
THANX(MKD).