1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package types import ( "fmt" "math/big" "testing" "github.com/ethereum/go-ethereum/common" ) func TestConversion(t *testing.T) { var ( parent common.Hash coinbase common.Address hash common.Hash ) block := NewBlock(parent, coinbase, hash, big.NewInt(0), 0, "") fmt.Println(block) }