aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go11
1 files changed, 9 insertions, 2 deletions
diff --git a/ethereum.go b/ethereum.go
index d3cecdc94..3e01f89b2 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -4,6 +4,8 @@ import (
"fmt"
)
+const Debug = false
+
func main() {
InitFees()
@@ -35,6 +37,11 @@ func main() {
bm.ProcessBlock( blck )
- //t := blck.MarshalRlp()
- //blck.UnmarshalRlp(t)
+
+ t := blck.MarshalRlp()
+ copyBlock := &Block{}
+ copyBlock.UnmarshalRlp(t)
+
+ fmt.Println(blck)
+ fmt.Println(copyBlock)
}