diff --git a/testing.go b/testing.go index 07e8c362f..64c34ca70 100644 --- a/testing.go +++ b/testing.go @@ -13,13 +13,13 @@ func Testing() { bm := NewBlockManager() - tx := NewTransaction("\x00", 20, []string{ - "PSH 10", - }) + tx := NewTransaction("\x00", 20, []string{"PSH 10"}) txData := tx.MarshalRlp() copyTx := &Transaction{} copyTx.UnmarshalRlp(txData) + fmt.Println(tx) + fmt.Println(copyTx) tx2 := NewTransaction("\x00", 20, []string{"SET 10 6", "LD 10 10"})