Merge pull request #4226 from breez/fix-chainrpc-crash

Fix crash when ChainNotifier is being accessed too early.
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2020-05-15 16:17:40 -07:00
commit 280bf8d26c
11 files changed
+173 -89

No files matched your search

+5
View File
@@ -200,6 +200,11 @@ func (m *MockNotifier) Start() error {
return nil
}
// Started checks if started
func (m *MockNotifier) Started() bool {
return true
}
// Stop the notifier.
func (m *MockNotifier) Stop() error {
return nil