diff options
author | bas-vk <bas-vk@users.noreply.github.com> | 2017-07-31 18:06:01 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-07-31 18:06:01 +0800 |
commit | c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34 (patch) | |
tree | cd0afd2a25be96db8b82d99d57d4edc4375f45d6 /light | |
parent | 13cda8d9b6113c7df583e68bdce5adf1bca2b8a8 (diff) | |
download | dexon-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.tar dexon-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.tar.gz dexon-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.tar.bz2 dexon-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.tar.lz dexon-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.tar.xz dexon-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.tar.zst dexon-c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34.zip |
light: update txpool signer to EIP155 (#14720)
Diffstat (limited to 'light')
-rw-r--r-- | light/txpool.go | 2 |
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), |