diff options
Diffstat (limited to 'server/fsm_test.go')
-rw-r--r-- | server/fsm_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/fsm_test.go b/server/fsm_test.go index 55318ac3..73159556 100644 --- a/server/fsm_test.go +++ b/server/fsm_test.go @@ -314,10 +314,10 @@ func makePeerAndHandler() (*Peer, *FSMHandler) { } h := &FSMHandler{ - fsm: p.fsm, - errorCh: make(chan FsmStateReason, 2), - incoming: channels.NewInfiniteChannel(), - outgoing: p.outgoing, + fsm: p.fsm, + stateReasonCh: make(chan FsmStateReason, 2), + incoming: channels.NewInfiniteChannel(), + outgoing: p.outgoing, } return p, h |