aboutsummaryrefslogtreecommitdiffstats
path: root/testing.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-06 03:41:01 +0800
committerobscuren <geffobscura@gmail.com>2014-01-06 03:41:01 +0800
commit1676930a1644f06dafc66e2b5595eb343ffebc07 (patch)
tree0c3a518c11efa5a21e8cb2a8ffdef4b7f0a064a1 /testing.go
parent40dc4d0259b3bec4e8ac11dc4dd4daeaf663fa7c (diff)
downloadgo-tangerine-1676930a1644f06dafc66e2b5595eb343ffebc07.tar
go-tangerine-1676930a1644f06dafc66e2b5595eb343ffebc07.tar.gz
go-tangerine-1676930a1644f06dafc66e2b5595eb343ffebc07.tar.bz2
go-tangerine-1676930a1644f06dafc66e2b5595eb343ffebc07.tar.lz
go-tangerine-1676930a1644f06dafc66e2b5595eb343ffebc07.tar.xz
go-tangerine-1676930a1644f06dafc66e2b5595eb343ffebc07.tar.zst
go-tangerine-1676930a1644f06dafc66e2b5595eb343ffebc07.zip
updated testing"
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)