small hotfix

This commit is contained in:
InsanusMokrassar committed 2021-12-27 16:00:07 +06:00
1 parent 8b39882e83
commit 612cf40b5f
1 file changed
+1 -1
@@ -52,7 +52,7 @@ open class DefaultUpdatableStatesMachine<T : State>(
}
}
protected suspend fun compare(previous: Optional<T>, new: T): Boolean = previous.dataOrNull() != new
protected open suspend fun compare(previous: Optional<T>, new: T): Boolean = previous.dataOrNull() != new
override suspend fun updateChain(currentState: T, newState: T) {
statesManager.update(currentState, newState)