fixes issue with wrong tx signer chainId

This commit is contained in:
Victor Farazdagi 2016-11-25 11:05:03 +03:00
parent 6d061f4249
commit b6e356a352
1 changed files with 1 additions and 1 deletions

View File

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