aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-17 19:57:35 +0800
committerobscuren <geffobscura@gmail.com>2014-12-17 19:57:35 +0800
commitb1c58b76a9588a90db5a773a997bb70265c378d3 (patch)
tree0d2631ec0b9324f08fcd2e82cec797fab75e9d4d /core/chain_manager_test.go
parentef4135eabe5cb25f8972371c5681e1611ce0cde9 (diff)
downloaddexon-b1c58b76a9588a90db5a773a997bb70265c378d3.tar
dexon-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.gz
dexon-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.bz2
dexon-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.lz
dexon-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.xz
dexon-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.zst
dexon-b1c58b76a9588a90db5a773a997bb70265c378d3.zip
moved err check
Diffstat (limited to 'core/chain_manager_test.go')
-rw-r--r--core/chain_manager_test.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/chain_manager_test.go b/core/chain_manager_test.go
index 9a8bc9592..a84e3ff3b 100644
--- a/core/chain_manager_test.go
+++ b/core/chain_manager_test.go
@@ -1 +1,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)
+}