diff options
author | Maran <maran.hidskes@gmail.com> | 2014-03-17 17:37:29 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-03-17 17:37:29 +0800 |
commit | 3274e0a2496e622a847b213bb5ba0272650ef06c (patch) | |
tree | b0ab985f885d41a67d748011e7b502f01b203c38 /ethchain | |
parent | d5efeab8f92509dec3cafcafb36e1856bb084f12 (diff) | |
download | go-tangerine-3274e0a2496e622a847b213bb5ba0272650ef06c.tar.gz go-tangerine-3274e0a2496e622a847b213bb5ba0272650ef06c.tar.zst go-tangerine-3274e0a2496e622a847b213bb5ba0272650ef06c.zip |
Removed extra invalid nonce return
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/transaction_pool.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ethchain/transaction_pool.go b/ethchain/transaction_pool.go index 345764d09..b8366d274 100644 --- a/ethchain/transaction_pool.go +++ b/ethchain/transaction_pool.go @@ -109,11 +109,7 @@ func (pool *TxPool) ProcessTransaction(tx *Transaction, block *Block) (err error } if sender.Nonce != tx.Nonce { - if ethutil.Config.Debug { - return fmt.Errorf("Invalid nonce %d(%d) continueing anyway", tx.Nonce, sender.Nonce) - } else { - return fmt.Errorf("Invalid nonce %d(%d)", tx.Nonce, sender.Nonce) - } + return fmt.Errorf("Invalid nonce %d(%d)", tx.Nonce, sender.Nonce) } // Get the receiver |