From 1e91d3f65a03092e08b759d18cb5732b5e847f2c Mon Sep 17 00:00:00 2001 From: Raycho Mukelov Date: Sat, 28 Oct 2023 21:31:07 +0300 Subject: [PATCH] Fix --- raft/consensus_state_machine.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft/consensus_state_machine.nim b/raft/consensus_state_machine.nim index d1be074..dc8f9e9 100644 --- a/raft/consensus_state_machine.nim +++ b/raft/consensus_state_machine.nim @@ -73,7 +73,7 @@ proc computeFSMLogicFunctionsPermutationValue[NonTerminalSymbol, NodeType, Event result = rawInput proc consensusFSMAdvance[NodeType, EventType](fsm: ConsensusFSM[NodeType, EventType, RaftMessageBase], node: NodeType, event: EventType, - rawInput: TerminalSymbol[EventType, NodeType, RaftMessageBase]): NonTerminalSymbol[NodeType] = + rawInput: TerminalSymbol[EventType, NodeType, RaftMessageBase], msg: Option[RaftMessageBase]): NonTerminalSymbol[NodeType] = withRLock(): var input = computeFSMLogicFunctionsPermutationValue(fsm, node, event, rawInput)