mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-03 18:43:46 +00:00
light: update txpool signer to EIP155
This commit is contained in:
parent
5421a08d2f
commit
18b19098c7
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ type TxRelayBackend interface {
|
|||
func NewTxPool(config *params.ChainConfig, eventMux *event.TypeMux, chain *LightChain, relay TxRelayBackend) *TxPool {
|
||||
pool := &TxPool{
|
||||
config: config,
|
||||
signer: types.HomesteadSigner{},
|
||||
signer: types.NewEIP155Signer(config.ChainId),
|
||||
nonce: make(map[common.Address]uint64),
|
||||
pending: make(map[common.Hash]*types.Transaction),
|
||||
mined: make(map[common.Hash][]*types.Transaction),
|
||||
|
|
|
|||
Loading…
Reference in a new issue