Removed old instruction code

This commit is contained in:
obscuren 2014-02-21 12:37:06 +01:00
parent b20c0b1d59
commit 681eacaa7f

View File

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