diff options
author | obscuren <obscuren@obscura.com> | 2013-12-28 22:18:08 +0800 |
---|---|---|
committer | obscuren <obscuren@obscura.com> | 2013-12-28 22:18:08 +0800 |
commit | bd582d919bf3dfa68cce10ca506c39a4c2e2ea94 (patch) | |
tree | 012328b436ae92dfbfbd2b8c4a54f4e35351e2e4 /transaction.go | |
parent | 95d877f701371108dc18967319d1f7b4e6763caf (diff) | |
download | go-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.go | 4 |
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) { |