Fix Neutrino instantiation.
This commit is contained in:
parent
b5873a5b2c
commit
4a25ae194a
2 changed files with 5 additions and 2 deletions
|
@ -179,8 +179,11 @@ func rpcClientConnectLoop(legacyRPCServer *legacyrpc.Server, loader *wallet.Load
|
|||
log.Errorf("Couldn't create Neutrino ChainService: %s", err)
|
||||
continue
|
||||
}
|
||||
chainService.Start()
|
||||
chainClient = chain.NewSPVChain(chainService)
|
||||
err = chainClient.Start()
|
||||
if err != nil {
|
||||
log.Errorf("Couldn't start SPVChain: %s", err)
|
||||
}
|
||||
} else {
|
||||
chainClient, err = startChainRPC(certs)
|
||||
if err != nil {
|
||||
|
|
2
glide.lock
generated
2
glide.lock
generated
|
@ -97,7 +97,7 @@ imports:
|
|||
- name: github.com/kkdai/bstream
|
||||
version: f391b8402d23024e7c0f624b31267a89998fca95
|
||||
- name: github.com/lightninglabs/neutrino
|
||||
version: b96493137cf98477d84581f15c3c6ee60e9b9cec
|
||||
version: 8630f63aa206e04323f83a669be45bdcd1cfeff5
|
||||
repo: git@github.com:lightninglabs/neutrino
|
||||
- name: golang.org/x/crypto
|
||||
version: 0fe963104e9d1877082f8fb38f816fcd97eb1d10
|
||||
|
|
Loading…
Reference in a new issue