Skip to content

Commit

Permalink
Update parsing.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Nov 11, 2024
1 parent e7437ba commit 9413aed
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 @@ -149,6 +149,6 @@ const base32ToHex = (base32: string): string | null => {
return base32Words?.words ? convertBase32ToHex(base32Words.words) : null
}

const convertBase32ToHex = (data: number[]): string => {
return Buffer.from(bech32Module.fromWords(data)).toString('hex')
const convertBase32ToHex = (words: number[]): string => {
return Buffer.from(bech32Module.fromWords(words)).toString('hex')
}

0 comments on commit 9413aed

Please sign in to comment.