Commit d69db6e6 authored by obscuren's avatar obscuren

Removed compiling from the transaction

parent d8b5bbd4
...@@ -24,12 +24,7 @@ func NewTransaction(to []byte, value *big.Int, data []string) *Transaction { ...@@ -24,12 +24,7 @@ func NewTransaction(to []byte, value *big.Int, data []string) *Transaction {
tx.Nonce = 0 tx.Nonce = 0
// Serialize the data // Serialize the data
tx.Data = make([]string, len(data)) tx.Data = data
for i, val := range data {
instr, _ := ethutil.CompileInstr(val)
tx.Data[i] = string(instr)
}
return &tx return &tx
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment