aboutsummaryrefslogtreecommitdiffstats
path: root/testing.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-17 23:57:42 +0800
committerobscuren <geffobscura@gmail.com>2014-01-17 23:57:42 +0800
commitddf82c333702e22d3cd7e5c693ad0603089a57a4 (patch)
tree893a3277f5222c152c2c65c465bbe73c08a20bc4 /testing.go
parentaed060a4ce59a5116ad774c2d8c0fbf857109287 (diff)
downloadgo-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.go4
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)