Skip to content

Commit

Permalink
fix fromStringToBytes function. (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
abc123931 authored Apr 18, 2024
1 parent 784df9a commit d5c6104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request/request-verification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ function fromHexStringToBytes(hexString: string) {
for (let idx = 0; idx < hexString.length; idx += 2) {
bytes[idx / 2] = parseInt(hexString.substring(idx, idx + 2), 16);
}
return bytes.buffer;
return bytes;
}

0 comments on commit d5c6104

Please sign in to comment.