diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-17 23:57:42 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-17 23:57:42 +0800 |
commit | ddf82c333702e22d3cd7e5c693ad0603089a57a4 (patch) | |
tree | 893a3277f5222c152c2c65c465bbe73c08a20bc4 /testing.go | |
parent | aed060a4ce59a5116ad774c2d8c0fbf857109287 (diff) | |
download | go-tangerine-ddf82c333702e22d3cd7e5c693ad0603089a57a4.tar.gz go-tangerine-ddf82c333702e22d3cd7e5c693ad0603089a57a4.tar.zst go-tangerine-ddf82c333702e22d3cd7e5c693ad0603089a57a4.zip |
Removed dagger broadcasting to the net
Diffstat (limited to 'testing.go')
-rw-r--r-- | testing.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing.go b/testing.go index 5e2aec02b..849089a5d 100644 --- a/testing.go +++ b/testing.go @@ -16,11 +16,11 @@ func Testing() { bm := NewBlockManager() tx := NewTransaction("\x00", 20, []string{"PUSH"}) - txData := tx.MarshalRlp() + txData := tx.RlpEncode() //fmt.Printf("%q\n", txData) copyTx := &Transaction{} - copyTx.UnmarshalRlp(txData) + copyTx.RlpDecode(txData) //fmt.Println(tx) //fmt.Println(copyTx) |