diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-24 19:13:42 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-24 19:13:42 +0800 |
commit | d69db6e617478911e90f6627329012578bfd0fe5 (patch) | |
tree | cf82136d9b5b149b2f4b355b29d967a49b98ec8c /ethchain | |
parent | d8b5bbd48c8e989808058150137d9713d1936b18 (diff) | |
download | go-tangerine-d69db6e617478911e90f6627329012578bfd0fe5.tar.gz go-tangerine-d69db6e617478911e90f6627329012578bfd0fe5.tar.zst go-tangerine-d69db6e617478911e90f6627329012578bfd0fe5.zip |
Removed compiling from the transaction
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/transaction.go | 7 |
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 } |