remove warning on expected invalid state transition

This commit is contained in:
woodser 2023-07-31 10:54:00 -04:00
parent 141f1fd2db
commit 0594fe2dbe

View File

@ -1178,9 +1178,6 @@ public abstract class Trade implements Tradable, Model {
public void setStateIfValidTransitionTo(State newState) {
if (state.isValidTransitionTo(newState)) {
setState(newState);
} else {
log.warn("State change is not getting applied because it would cause an invalid transition. " +
"Trade state={}, intended state={}", state, newState);
}
}