Skip to content

Commit

Permalink
producer-state: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Oct 27, 2021
1 parent 571be60 commit 6735f5c
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -192,9 +192,9 @@ switchFork c (ChainProducerState c' cflrst cfid) =
-- the producer's state assuming that the follower follows its instruction.
--
followerInstruction :: HasHeader block
=> FollowerId
-> ChainProducerState block
-> Maybe (ChainUpdate block block, ChainProducerState block)
=> FollowerId
-> ChainProducerState block
-> Maybe (ChainUpdate block block, ChainProducerState block)
followerInstruction fid cps@(ChainProducerState c cflrst cfid) =
let FollowerState {followerPoint, followerNext} = lookupFollower cps fid in
case followerNext of
Expand Down

0 comments on commit 6735f5c

Please sign in to comment.