aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/utils/flags.go3
-rw-r--r--core/transaction_pool.go1
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 51844a68e..c69faba03 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -231,7 +231,8 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config {
// Set verbosity on glog
glog.SetV(ctx.GlobalInt(LogLevelFlag.Name))
// Set the log type
- glog.SetToStderr(ctx.GlobalBool(LogToStdErrFlag.Name))
+ //glog.SetToStderr(ctx.GlobalBool(LogToStdErrFlag.Name))
+ glog.SetToStderr(true)
// Set the log dir
glog.SetLogDir(ctx.GlobalString(LogFileFlag.Name))
diff --git a/core/transaction_pool.go b/core/transaction_pool.go
index bfb54e24d..94a94f93d 100644
--- a/core/transaction_pool.go
+++ b/core/transaction_pool.go
@@ -122,7 +122,6 @@ func (self *TxPool) add(tx *types.Transaction) error {
}
err := self.ValidateTransaction(tx)
if err != nil {
- self.invalidHashes.Add(tx.Hash())
return err
}