Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
6e2f78eb
Commit
6e2f78eb
authored
Apr 08, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default log to stderr
parent
2e2860e4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
flags.go
cmd/utils/flags.go
+2
-1
transaction_pool.go
core/transaction_pool.go
+0
-1
No files found.
cmd/utils/flags.go
View file @
6e2f78eb
...
...
@@ -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
))
...
...
core/transaction_pool.go
View file @
6e2f78eb
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment