Test code updated

This commit is contained in:
obscuren
2013-12-28 15:18:23 +01:00
parent bd582d919b
commit 5198b7b9eb
2 changed files with 18 additions and 11 deletions

View File

@ -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)
}