Skip to content

Commit 3cc185b

Browse files
committed
getting voter fix
1 parent 5e906e0 commit 3cc185b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/cslTools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const getCslVotingBuilder = () => wasm.VotingBuilder.new()
185185
export const getGovActionId = (govActionTxHashInHex, govActionIndex) =>
186186
wasm.GovernanceActionId.new(getTransactionHashFromHex(govActionTxHashInHex), govActionIndex)
187187

188-
export const getVoter = (dRepKeyHash) => wasm.Voter.new_drep(dRepKeyHash)
188+
export const getVoter = (dRepKeyHash) => wasm.Voter.new_drep_credential(dRepKeyHash)
189189

190190
export const getVotingProcedure = (votingChoice) => wasm.VotingProcedure.new(votingChoice)
191191

0 commit comments

Comments
 (0)