aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager_test.go
blob: a84e3ff3b9dcc9b9a9652aff6b149094f74ac5af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package core

import (
    "fmt"
    "path"
    "testing"

    "github.com/ethereum/go-ethereum/ethutil"
)

func TestChainInsertions(t *testing.T) {
    c1, err := ethutil.ReadAllFile(path.Join("..", "_data", "chain1"))
    if err != nil {
        fmt.Println(err)
        t.FailNow()
    }
    data1, _ := ethutil.Decode([]byte(c1), 0)
    fmt.Println(data1)
}