Skip to content

Commit

Permalink
chore: remove type casting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nesopie committed Jun 1, 2024
1 parent 6920f56 commit 0ef72d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function getLibraryFromEncoding(encoding: 'bech32' | 'bech32m'): BechLib {
let chk = prefixChk(prefix);
if (typeof chk === 'string') return chk;

const words = [] as number[];
const words = [];
for (let i = 0; i < wordChars.length; ++i) {
const c = wordChars.charAt(i);
const v = ALPHABET_MAP[c];
Expand Down

0 comments on commit 0ef72d5

Please sign in to comment.