aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorbas-vk <bas-vk@users.noreply.github.com>2017-07-31 18:06:01 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-07-31 18:06:01 +0800
commitc259e6874ece4ff3b6ee7b1ce77f58e64db1fb34 (patch)
treecd0afd2a25be96db8b82d99d57d4edc4375f45d6 /light
parent13cda8d9b6113c7df583e68bdce5adf1bca2b8a8 (diff)
downloadgo-tangerine-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.tar.gz
go-tangerine-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.tar.zst
go-tangerine-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.zip
light: update txpool signer to EIP155 (#14720)
Diffstat (limited to 'light')
-rw-r--r--light/txpool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/light/txpool.go b/light/txpool.go
index 416148b7e..1d52aa622 100644
--- a/light/txpool.go
+++ b/light/txpool.go
@@ -81,7 +81,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),