Closed whunmr closed 5 years ago
Describe the bug
root@iZm5eakzlq9sm4ycm9lw0wZ:/home/whunmr/copernicus# cat nohup.out get GOPATH failed, please check if gopath is configured. panic: open /root/.bitcoincash/bitcoincash.yml: no such file or directory goroutine 1 [running]: github.com/copernet/copernicus/conf.must(0xd71900, 0x0, 0xe1efe0, 0xc4201ff4a0, 0x0, 0x0) /home/j/.go/src/github.com/copernet/copernicus/conf/conf.go:344 +0x9a github.com/copernet/copernicus/conf.InitConfig(0xc42001e1e0, 0x1, 0x1, 0x0) /home/j/.go/src/github.com/copernet/copernicus/conf/conf.go:254 +0xdc2 main.appInitMain(0xc42001e1e0, 0x1, 0x1) /home/j/.go/src/github.com/copernet/copernicus/initmain.go:27 +0x5d main.bchMain(0xe23d00, 0xc4200200b8, 0xc42001e1e0, 0x1, 0x1, 0x0, 0x0) /home/j/.go/src/github.com/copernet/copernicus/main.go:38 +0x68 main.main() /home/j/.go/src/github.com/copernet/copernicus/main.go:107 +0x1ef
To Reproduce run copernicus on server without gopath configured.
Expected behavior run normally, without depends on gopath
Describe the bug
To Reproduce run copernicus on server without gopath configured.
Expected behavior run normally, without depends on gopath