Commit 681eacaa authored by obscuren's avatar obscuren

Removed old instruction code

parent b20c0b1d
......@@ -26,12 +26,9 @@ func NewTransaction(to []byte, value *big.Int, data []string) *Transaction {
// Serialize the data
tx.Data = make([]string, len(data))
for i, val := range data {
instr, err := ethutil.CompileInstr(val)
if err != nil {
//fmt.Printf("compile error:%d %v\n", i+1, err)
}
instr, _ := ethutil.CompileInstr(val)
tx.Data[i] = instr
tx.Data[i] = string(instr)
}
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