From c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34 Mon Sep 17 00:00:00 2001
From: bas-vk <bas-vk@users.noreply.github.com>
Date: Mon, 31 Jul 2017 12:06:01 +0200
Subject: [PATCH] light: update txpool signer to EIP155 (#14720)

---
 light/txpool.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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),
-- 
GitLab