aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/transaction.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-31 07:03:28 +0800
committerobscuren <geffobscura@gmail.com>2014-03-31 07:03:28 +0800
commit7277c420479239fbea78417e42c43ee0162c2728 (patch)
tree71e87eca603437d569b78f9d64be80d537dcc034 /ethchain/transaction.go
parent7cc28c8b469ba8df8bad1e3bbbba7fbd99b88535 (diff)
downloadgo-tangerine-7277c420479239fbea78417e42c43ee0162c2728.tar.gz
go-tangerine-7277c420479239fbea78417e42c43ee0162c2728.tar.zst
go-tangerine-7277c420479239fbea78417e42c43ee0162c2728.zip
Fixed some state issues
Diffstat (limited to 'ethchain/transaction.go')
-rw-r--r--ethchain/transaction.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/transaction.go b/ethchain/transaction.go
index 9fdf55b4d..506e3c159 100644
--- a/ethchain/transaction.go
+++ b/ethchain/transaction.go
@@ -116,8 +116,9 @@ func (tx *Transaction) RlpData() interface{} {
if !tx.contractCreation {
data = append(data, tx.Recipient, tx.Gas)
}
+ d := ethutil.NewSliceValue(tx.Data).Slice()
- return append(data, ethutil.NewSliceValue(tx.Data).Slice(), tx.v, tx.r, tx.s)
+ return append(data, d, tx.v, tx.r, tx.s)
}
func (tx *Transaction) RlpValue() *ethutil.Value {