mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
whisper: minor fix
This commit is contained in:
parent
2e9d3bc0f7
commit
67f347be7e
1 changed files with 1 additions and 4 deletions
|
|
@ -289,10 +289,7 @@ func (whisper *Whisper) LightClientMode() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
v, ok := val.(bool)
|
v, ok := val.(bool)
|
||||||
if !ok {
|
return v && ok
|
||||||
return false
|
|
||||||
}
|
|
||||||
return v
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//LightClientModeConnectionRestricted indicates that connection to light client in light client mode not allowed
|
//LightClientModeConnectionRestricted indicates that connection to light client in light client mode not allowed
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue