aboutsummaryrefslogtreecommitdiffstats
path: root/testing.go
diff options
context:
space:
mode:
Diffstat (limited to 'testing.go')
-rw-r--r--testing.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing.go b/testing.go
index 64c34ca70..3762e4dc5 100644
--- a/testing.go
+++ b/testing.go
@@ -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)