Skip to content

Commit e549220

Browse files
committed
Rename withVoter -> withVoting to align with convention
1 parent eb91bbf commit e549220

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plutus-context-builder/src/Plutus/ContextBuilder.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module Plutus.ContextBuilder (
7777
CE.buildCertifying',
7878
V.VotingBuilder,
7979
V.buildVoting',
80-
V.withVoter,
80+
V.withVoting,
8181
T.TxInfoBuilder (..),
8282
T.mints,
8383
T.buildTxInfo,

plutus-context-builder/src/Plutus/ContextBuilder/Voting.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Plutus.ContextBuilder.Voting (
2020
VotingBuilder,
2121

2222
-- * Input
23-
withVoter,
23+
withVoting,
2424

2525
-- * builder
2626
buildVoting',
@@ -90,8 +90,8 @@ instance Normalizer VotingBuilder where
9090
9191
@since 4.0.0
9292
-}
93-
withVoter :: Voter -> VotingBuilder
94-
withVoter v = VB mempty $ Just v
93+
withVoting :: Voter -> VotingBuilder
94+
withVoting v = VB mempty $ Just v
9595

9696
{- | Builds @ScriptContext@ according to given configuration and
9797
@VotingBuilder@.

0 commit comments

Comments
 (0)