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
c259e687
Commit
c259e687
authored
Jul 31, 2017
by
bas-vk
Committed by
Felix Lange
Jul 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
light: update txpool signer to EIP155 (#14720)
parent
13cda8d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
txpool.go
light/txpool.go
+1
-1
No files found.
light/txpool.go
View file @
c259e687
...
@@ -81,7 +81,7 @@ type TxRelayBackend interface {
...
@@ -81,7 +81,7 @@ type TxRelayBackend interface {
func
NewTxPool
(
config
*
params
.
ChainConfig
,
eventMux
*
event
.
TypeMux
,
chain
*
LightChain
,
relay
TxRelayBackend
)
*
TxPool
{
func
NewTxPool
(
config
*
params
.
ChainConfig
,
eventMux
*
event
.
TypeMux
,
chain
*
LightChain
,
relay
TxRelayBackend
)
*
TxPool
{
pool
:=
&
TxPool
{
pool
:=
&
TxPool
{
config
:
config
,
config
:
config
,
signer
:
types
.
HomesteadSigner
{}
,
signer
:
types
.
NewEIP155Signer
(
config
.
ChainId
)
,
nonce
:
make
(
map
[
common
.
Address
]
uint64
),
nonce
:
make
(
map
[
common
.
Address
]
uint64
),
pending
:
make
(
map
[
common
.
Hash
]
*
types
.
Transaction
),
pending
:
make
(
map
[
common
.
Hash
]
*
types
.
Transaction
),
mined
:
make
(
map
[
common
.
Hash
][]
*
types
.
Transaction
),
mined
:
make
(
map
[
common
.
Hash
][]
*
types
.
Transaction
),
...
...
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