Commit 3274e0a2 authored by Maran's avatar Maran

Removed extra invalid nonce return

parent d5efeab8
......@@ -109,12 +109,8 @@ 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)
}
}
// Get the receiver
receiver := block.state.GetAccount(tx.Recipient)
......
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