updated testing"

This commit is contained in:
obscuren
2014-01-05 20:41:01 +01:00
parent 40dc4d0259
commit 1676930a16
3 changed files with 5 additions and 6 deletions

View File

@ -13,8 +13,9 @@ func Testing() {
bm := NewBlockManager()
tx := NewTransaction("\x00", 20, []string{"PSH 10"})
tx := NewTransaction("\x00", 20, []string{"PUSH"})
txData := tx.MarshalRlp()
fmt.Printf("%q\n", txData)
copyTx := &Transaction{}
copyTx.UnmarshalRlp(txData)