Removed extra invalid nonce return

pull/150/head
Maran 11 years ago
parent d5efeab8f9
commit 3274e0a249
  1. 6
      ethchain/transaction_pool.go

@ -109,11 +109,7 @@ func (pool *TxPool) ProcessTransaction(tx *Transaction, block *Block) (err error
} }
if sender.Nonce != tx.Nonce { if sender.Nonce != tx.Nonce {
if ethutil.Config.Debug { return fmt.Errorf("Invalid nonce %d(%d)", tx.Nonce, sender.Nonce)
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 // Get the receiver

Loading…
Cancel
Save