diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-06 03:15:13 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-06 03:15:13 +0800 |
commit | 40dc4d0259b3bec4e8ac11dc4dd4daeaf663fa7c (patch) | |
tree | 2d0e0c2c69c998f3ce0768d1c5325cf2a93f8919 | |
parent | 79c89c0bcda7ed35ec5570eb597e427631848174 (diff) | |
download | go-tangerine-40dc4d0259b3bec4e8ac11dc4dd4daeaf663fa7c.tar.gz go-tangerine-40dc4d0259b3bec4e8ac11dc4dd4daeaf663fa7c.tar.zst go-tangerine-40dc4d0259b3bec4e8ac11dc4dd4daeaf663fa7c.zip |
Testing
-rw-r--r-- | testing.go | 6 |
1 files changed, 3 insertions, 3 deletions
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"}) |