aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/block_test.go
blob: e2fa2cad20f0bf3e445e975d6c27d50cae80d355 (plain) (blame)
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)
}