|
|
@ -81,7 +81,7 @@ type TxRelayBackend interface { |
|
|
|
func NewTxPool(config *params.ChainConfig, eventMux *event.TypeMux, chain *LightChain, relay TxRelayBackend) *TxPool { |
|
|
|
func NewTxPool(config *params.ChainConfig, eventMux *event.TypeMux, chain *LightChain, relay TxRelayBackend) *TxPool { |
|
|
|
pool := &TxPool{ |
|
|
|
pool := &TxPool{ |
|
|
|
config: config, |
|
|
|
config: config, |
|
|
|
signer: types.HomesteadSigner{}, |
|
|
|
signer: types.NewEIP155Signer(config.ChainId), |
|
|
|
nonce: make(map[common.Address]uint64), |
|
|
|
nonce: make(map[common.Address]uint64), |
|
|
|
pending: make(map[common.Hash]*types.Transaction), |
|
|
|
pending: make(map[common.Hash]*types.Transaction), |
|
|
|
mined: make(map[common.Hash][]*types.Transaction), |
|
|
|
mined: make(map[common.Hash][]*types.Transaction), |
|
|
|