diff --git a/btcwallet.go b/btcwallet.go index af87b0e..82ebdc1 100644 --- a/btcwallet.go +++ b/btcwallet.go @@ -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 { diff --git a/glide.lock b/glide.lock index 48f18e8..d6b8ce7 100644 --- a/glide.lock +++ b/glide.lock @@ -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