changes while looking for issue

This commit is contained in:
William Banfield
2021-08-20 10:28:42 -04:00
parent aeb6058210
commit 45b5349317
8 changed files with 76 additions and 17 deletions
+1
View File
@@ -680,6 +680,7 @@ func (n *nodeImpl) OnStart() error {
// FIXME: We shouldn't allow state sync to silently error out without
// bubbling up the error and gracefully shutting down the rest of the node
go func() {
n.Logger.Info("staring state sync")
state, err := n.stateSyncReactor.Sync(context.TODO(), state.ChainID, state.InitialHeight)
if err != nil {
n.Logger.Error("state sync failed", "err", err)