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
049797d4
Unverified
Commit
049797d4
authored
Nov 21, 2017
by
Péter Szilágyi
Committed by
GitHub
Nov 21, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15521 from rjl493456442/clean_tx_journal
les: clean up tx journal file after testing
parents
00566586
41ef34ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
handler_test.go
les/handler_test.go
+3
-1
No files found.
les/handler_test.go
View file @
049797d4
...
@@ -416,7 +416,9 @@ func TestTransactionStatusLes2(t *testing.T) {
...
@@ -416,7 +416,9 @@ func TestTransactionStatusLes2(t *testing.T) {
db
,
_
:=
ethdb
.
NewMemDatabase
()
db
,
_
:=
ethdb
.
NewMemDatabase
()
pm
:=
newTestProtocolManagerMust
(
t
,
false
,
0
,
nil
,
nil
,
nil
,
db
)
pm
:=
newTestProtocolManagerMust
(
t
,
false
,
0
,
nil
,
nil
,
nil
,
db
)
chain
:=
pm
.
blockchain
.
(
*
core
.
BlockChain
)
chain
:=
pm
.
blockchain
.
(
*
core
.
BlockChain
)
txpool
:=
core
.
NewTxPool
(
core
.
DefaultTxPoolConfig
,
params
.
TestChainConfig
,
chain
)
config
:=
core
.
DefaultTxPoolConfig
config
.
Journal
=
""
txpool
:=
core
.
NewTxPool
(
config
,
params
.
TestChainConfig
,
chain
)
pm
.
txpool
=
txpool
pm
.
txpool
=
txpool
peer
,
_
:=
newTestPeer
(
t
,
"peer"
,
2
,
pm
,
true
)
peer
,
_
:=
newTestPeer
(
t
,
"peer"
,
2
,
pm
,
true
)
defer
peer
.
close
()
defer
peer
.
close
()
...
...
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