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
00408f74
Unverified
Commit
00408f74
authored
Jul 15, 2023
by
Yurie
Committed by
GitHub
Jul 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accounts/abi/bind/backends: fix goroutine leak in unit test (#27705)
parent
34d50721
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
simulated_test.go
accounts/abi/bind/backends/simulated_test.go
+1
-0
No files found.
accounts/abi/bind/backends/simulated_test.go
View file @
00408f74
...
@@ -161,6 +161,7 @@ func TestAdjustTime(t *testing.T) {
...
@@ -161,6 +161,7 @@ func TestAdjustTime(t *testing.T) {
func
TestNewAdjustTimeFail
(
t
*
testing
.
T
)
{
func
TestNewAdjustTimeFail
(
t
*
testing
.
T
)
{
testAddr
:=
crypto
.
PubkeyToAddress
(
testKey
.
PublicKey
)
testAddr
:=
crypto
.
PubkeyToAddress
(
testKey
.
PublicKey
)
sim
:=
simTestBackend
(
testAddr
)
sim
:=
simTestBackend
(
testAddr
)
defer
sim
.
blockchain
.
Stop
()
// Create tx and send
// Create tx and send
head
,
_
:=
sim
.
HeaderByNumber
(
context
.
Background
(),
nil
)
// Should be child's, good enough
head
,
_
:=
sim
.
HeaderByNumber
(
context
.
Background
(),
nil
)
// Should be child's, good enough
...
...
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