From d5c6104276fa540b88565edc381d9e2fc3b37711 Mon Sep 17 00:00:00 2001 From: abc123931 Date: Thu, 18 Apr 2024 13:32:50 +0900 Subject: [PATCH] fix fromStringToBytes function. (#25) --- src/request/request-verification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/request/request-verification.ts b/src/request/request-verification.ts index 13649d5..e522d92 100644 --- a/src/request/request-verification.ts +++ b/src/request/request-verification.ts @@ -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; }