mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
protocol error check fix
This commit is contained in:
parent
89df3a4648
commit
30348839c1
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ func New(config *Config) (*Ethereum, error) {
|
|||
ChunkStore: eth.netStore,
|
||||
}
|
||||
bzzProto, err := bzz.BzzProtocol(eth.netStore)
|
||||
if err != nil {
|
||||
if err == nil {
|
||||
protocols = append(protocols, bzzProto)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue