Cannot import "github.com/ethereum/go-ethereum/common"
ducnguyen263 opened this issue · comments
ducnguyen263 commented
The following program sample.go
triggers an unexpected result
package main
import (
"fmt"
"github.com/ethereum/go-ethereum/common"
)
func main() {
res := new(common.Address)
fmt.Println(res)
}
Expected result
$ go run main.go
0x0000000000000000000000000000000000000000
Got
$ yaegi run main.go
run: main.go:5:2: import "github.com/ethereum/go-ethereum/common" error: /Users/treehouse/go/src/github.com/ethereum/go-ethereum/common/types.go:190:71: cannot use type common.UnprefixedHash as type []uint8
Yaegi Version
v0.14.2
Additional Notes
No response