eth, les: reject light client connection is server is not synced (#19616)
* eth, les: reject light client connection is server is not synced * eth, les: rename function and variables * les: format
This commit is contained in:
committed by
Péter Szilágyi
parent
922e757f19
commit
4e0c1a1a6b
@@ -158,7 +158,8 @@ func New(ctx *node.ServiceContext, config *eth.Config) (*LightEthereum, error) {
|
||||
leth.serverPool,
|
||||
quitSync,
|
||||
&leth.wg,
|
||||
config.ULC); err != nil {
|
||||
config.ULC,
|
||||
nil); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user