From bd582d919bf3dfa68cce10ca506c39a4c2e2ea94 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 28 Dec 2013 15:18:08 +0100 Subject: (un)marshal blocks and transactions --- transaction.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'transaction.go') diff --git a/transaction.go b/transaction.go index cb7edd89c..b6e9eaa8f 100644 --- a/transaction.go +++ b/transaction.go @@ -34,8 +34,6 @@ var Period3Reward *big.Int = new(big.Int) var Period4Reward *big.Int = new(big.Int) type Transaction struct { - RlpSerializer - sender string recipient string value uint32 @@ -83,7 +81,7 @@ func (tx *Transaction) MarshalRlp() []byte { tx.data, } - return []byte(Encode(preEnc)) + return Encode(preEnc) } func (tx *Transaction) UnmarshalRlp(data []byte) { -- cgit v1.2.3