aboutsummaryrefslogtreecommitdiffstats
path: root/transaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'transaction.go')
-rw-r--r--transaction.go4
1 files changed, 1 insertions, 3 deletions
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) {