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
2020-05-15 16:17:40 -07:00
committed by GitHub
11 changed files with 173 additions and 89 deletions

View File

@@ -43,6 +43,10 @@ func (m *mockNotifier) Start() error {
return nil
}
func (m *mockNotifier) Started() bool {
return true
}
func (m *mockNotifier) Stop() error {
return nil
}