add extra tests

This commit is contained in:
Callum Waters
2021-08-26 10:44:44 +02:00
parent d71edfc960
commit 18982cd831
10 changed files with 193 additions and 28 deletions

View File

@@ -682,8 +682,8 @@ 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)
n.Logger.Info("starting state sync")
state, err := n.stateSyncReactor.Sync(context.TODO())
if err != nil {
n.Logger.Error("state sync failed", "err", err)
return