mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
panic if self.node is nil when set on bzz (TEMPORARY)
This commit is contained in:
parent
8ad5bc8450
commit
936561e90e
1 changed files with 5 additions and 1 deletions
|
|
@ -468,7 +468,11 @@ func (s *Ethereum) Start() error {
|
|||
|
||||
if s.DPA != nil {
|
||||
s.DPA.Start()
|
||||
s.netStore.Start(s.net.Self())
|
||||
selfNode := s.net.Self()
|
||||
if selfNode == nil {
|
||||
panic("self is nil")
|
||||
}
|
||||
s.netStore.Start()
|
||||
go bzz.StartHttpServer(s.DPA)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue