···343343 return nil, stacktrace.NewError("block not found at height")
344344 }
345345346346- if time.Since(toHeightBlockMeta.Header.Time) > CommitToChallengeMaxAge {
346346+ if tx.Timestamp().Sub(toHeightBlockMeta.Header.Time) > CommitToChallengeMaxAge {
347347 return nil, stacktrace.NewError("too much time passed since block at height")
348348 }
349349