Merge pull request #4226 from breez/fix-chainrpc-crash
Fix crash when ChainNotifier is being accessed too early.
This commit is contained in:
11 files changed
+173
-89
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user