aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/transaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/transaction.go')
-rw-r--r--ethchain/transaction.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/ethchain/transaction.go b/ethchain/transaction.go
index 2417bbd7d..39b2bda94 100644
--- a/ethchain/transaction.go
+++ b/ethchain/transaction.go
@@ -24,12 +24,7 @@ func NewTransaction(to []byte, value *big.Int, data []string) *Transaction {
tx.Nonce = 0
// Serialize the data
- tx.Data = make([]string, len(data))
- for i, val := range data {
- instr, _ := ethutil.CompileInstr(val)
-
- tx.Data[i] = string(instr)
- }
+ tx.Data = data
return &tx
}