aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-06-05 18:31:34 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-06-05 18:31:34 +0800
commitcbfb40b0aab093e1b612f3b16834894b2cc67882 (patch)
tree19cbd1397343459aabf211857fcc5df26f4cee6c /light
parent4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64 (diff)
downloaddexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.gz
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.zst
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.zip
params: fix golint warnings (#16853)
params: fix golint warnings
Diffstat (limited to 'light')
-rw-r--r--light/txpool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/light/txpool.go b/light/txpool.go
index 1fabc3dc5..5b4d06d90 100644
--- a/light/txpool.go
+++ b/light/txpool.go
@@ -89,7 +89,7 @@ type TxRelayBackend interface {
func NewTxPool(config *params.ChainConfig, chain *LightChain, relay TxRelayBackend) *TxPool {
pool := &TxPool{
config: config,
- signer: types.NewEIP155Signer(config.ChainId),
+ 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),