Skip to content

Commit

Permalink
Update packages/staking/src/governance/helpers/parsing.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Juliano Lazzarotto <[email protected]>
  • Loading branch information
stackchain authored Sep 3, 2024
1 parent 155d998 commit bc485d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/staking/src/governance/helpers/parsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ const convertBech32ToScriptHash = async (
drepId: string,
cardano: CardanoTypes.Wasm,
): Promise<string> => {
const sacriptHash = await cardano.ScriptHash.fromBech32(drepId)
return await sacriptHash.toHex()
const scriptHash = await cardano.ScriptHash.fromBech32(drepId)
return await scriptHash.toHex()
}

export const convertHexKeyHashToBech32Format = async (
Expand Down

0 comments on commit bc485d9

Please sign in to comment.