diff --git a/agreement/persistence.go b/agreement/persistence.go index d92abbd1e6..aef2a0f609 100644 --- a/agreement/persistence.go +++ b/agreement/persistence.go @@ -125,6 +125,7 @@ func restore(log logging.Logger, crash db.Accessor) (raw []byte, err error) { // the above call was completed sucecssfully, which means that we've just created the table ( which wasn't there ! ). // in that case, the table is guaranteed to be empty, and therefore we can return right here. log.Infof("restore (agreement): crash state table initialized") + noCrashState = true // this is a normal case (we don't have crash state) err = errNoCrashStateAvailable return }