ソースを参照

light: update txpool signer to EIP155 (#14720)

bas-vk 8 年 前
コミット
c259e6874e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      light/txpool.go

+ 1 - 1
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),