Statemachine: both child and then parent process triggers.
MODIFY
WalletWasabi.Fluent/State/StateMachine.cs
WalletWasabi.Fluent/State/StateMachine.cs
@@ -179,6 +179,11 @@ public class StateMachine<TState, TTrigger> where TTrigger : Enum where TState :
action();
}
}
+
+ if (Parent is { })
+ {
+ Parent.Process(trigger);
+ }
}
internal bool CanTransit(TTrigger trigger)

Statemachine: both child and then parent process triggers.