diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-27 23:52:58 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-27 23:52:58 +0800 |
commit | 69e745c537e442d4086986b02c01741d2a314cf1 (patch) | |
tree | fde28b31fd7ae1eaf8017f300b9d60fece782e5f /ethchain/transaction.go | |
parent | 003280888d54ddcb7d776f549633d280edee1c8c (diff) | |
download | go-tangerine-69e745c537e442d4086986b02c01741d2a314cf1.tar go-tangerine-69e745c537e442d4086986b02c01741d2a314cf1.tar.gz go-tangerine-69e745c537e442d4086986b02c01741d2a314cf1.tar.bz2 go-tangerine-69e745c537e442d4086986b02c01741d2a314cf1.tar.lz go-tangerine-69e745c537e442d4086986b02c01741d2a314cf1.tar.xz go-tangerine-69e745c537e442d4086986b02c01741d2a314cf1.tar.zst go-tangerine-69e745c537e442d4086986b02c01741d2a314cf1.zip |
Return erroneous txs (so we can remove them from the pool)
Diffstat (limited to 'ethchain/transaction.go')
-rw-r--r-- | ethchain/transaction.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/transaction.go b/ethchain/transaction.go index b0743097d..abf2e37ac 100644 --- a/ethchain/transaction.go +++ b/ethchain/transaction.go @@ -40,7 +40,7 @@ func NewContractCreationTx(value, gas, gasPrice *big.Int, script []byte) *Transa } func NewTransactionMessage(to []byte, value, gas, gasPrice *big.Int, data []byte) *Transaction { - return &Transaction{Recipient: to, Value: value, GasPrice: gasPrice, Gas: gas, Data: data} + return &Transaction{Recipient: to, Value: value, GasPrice: gasPrice, Gas: gas, Data: data, contractCreation: IsContractAddr(to)} } func NewTransactionFromBytes(data []byte) *Transaction { |