OSDN Git Service

clean up
[bytom/vapor.git] / main.go
diff --git a/main.go b/main.go
deleted file mode 100644 (file)
index 2283d6e..0000000
--- a/main.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package main
-
-import (
-       // "encoding/json"
-       // "encoding/hex"
-       "fmt"
-       "reflect"
-
-       // btmTypes "github.com/bytom/protocol/bc/types"
-
-       "github.com/vapor/federation/service"
-       // vaporTypes "github.com/vapor/protocol/bc/types"
-)
-
-func main() {
-
-       node := service.NewNode("http://127.0.0.1:9888")
-       _, b, _ := node.GetBlockByHeight(1)
-       // fmt.Println(reflect.TypeOf(a))
-       fmt.Println(reflect.TypeOf(b))
-       fmt.Println(b)
-       // fmt.Println(string(b))
-       // fmt.Println(reflect.TypeOf(c))
-
-       // block := &btmTypes.Block{}
-       // block.UnmarshalText([]byte(a))
-       // fmt.Println(block)
-
-       // block2 := &vaporTypes.Block{}
-       // block2.UnmarshalText([]byte(a))
-       // fmt.Println(block2)
-
-}