routing/chainview: fix race condition in neutrino implementation

This commit is contained in:
Olaoluwa Osuntokun committed 2017-06-06 12:01:24 -07:00
1 parent 9fd70958f4
commit 7d30634757
3 files changed
+21 -9

No files matched your search

+7
View File
@@ -22,7 +22,14 @@ import (
"github.com/roasbeef/btcd/wire"
"github.com/roasbeef/btcutil"
// Required to auto-register the btcd backed ChainNotifier
// implementation.
_ "github.com/lightningnetwork/lnd/chainntnfs/btcdnotify"
// Required to auto-register the neutrino backed ChainNotifier
// implementation.
_ "github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify"
_ "github.com/roasbeef/btcwallet/walletdb/bdb" // Required to register the boltdb walletdb implementation.
)