Fixed some state issues

This commit is contained in:
obscuren
2014-03-31 01:03:28 +02:00
parent 7cc28c8b46
commit 7277c42047
4 changed files with 7 additions and 6 deletions

View File

@ -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 {