mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-05 21:12:07 +02:00
lnd: update server initialization due to ChainNotifier changes
This commit modifies the daemon’s initialization within the `lndMain` method to create an instance of the current default ChainNotifier outside of the LightningWallet. At this point, since there are no other implementations of the ChainNotifier, the current concrete implementation BtcdNotifier is used by default. In the future, once other ChainNotifier implementations are in place, config parsing should be fed into a factory function which creates the proper ChainNotifier implementation. Finally, several imports have been updated to reflect the change in package name.
This commit is contained in:
Reference in New Issue
Block a user