aboutsummaryrefslogtreecommitdiffstats
path: root/transaction.go
diff options
context:
space:
mode:
authorobscuren <obscuren@obscura.com>2013-12-28 22:18:08 +0800
committerobscuren <obscuren@obscura.com>2013-12-28 22:18:08 +0800
commitbd582d919bf3dfa68cce10ca506c39a4c2e2ea94 (patch)
tree012328b436ae92dfbfbd2b8c4a54f4e35351e2e4 /transaction.go
parent95d877f701371108dc18967319d1f7b4e6763caf (diff)
downloadgo-tangerine-bd582d919bf3dfa68cce10ca506c39a4c2e2ea94.tar
go-tangerine-bd582d919bf3dfa68cce10ca506c39a4c2e2ea94.tar.gz
go-tangerine-bd582d919bf3dfa68cce10ca506c39a4c2e2ea94.tar.bz2
go-tangerine-bd582d919bf3dfa68cce10ca506c39a4c2e2ea94.tar.lz
go-tangerine-bd582d919bf3dfa68cce10ca506c39a4c2e2ea94.tar.xz
go-tangerine-bd582d919bf3dfa68cce10ca506c39a4c2e2ea94.tar.zst
go-tangerine-bd582d919bf3dfa68cce10ca506c39a4c2e2ea94.zip
(un)marshal blocks and transactions
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) {