From 927c506c3a01675008f41344ed0a59a4f172d789 Mon Sep 17 00:00:00 2001 From: ieow Date: Tue, 22 Aug 2023 13:16:02 +0800 Subject: [PATCH] fix: signDataType --- .../src/providers/signingProviders/signingUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/providers/ethereum-provider/src/providers/signingProviders/signingUtils.ts b/packages/providers/ethereum-provider/src/providers/signingProviders/signingUtils.ts index bd867900a..feee22db7 100644 --- a/packages/providers/ethereum-provider/src/providers/signingProviders/signingUtils.ts +++ b/packages/providers/ethereum-provider/src/providers/signingProviders/signingUtils.ts @@ -110,7 +110,7 @@ async function signTypedData(sign: (msgHash: Buffer, rawMsg?: Buffer) => Promise modifiedV = modifiedV + 27; } - return concatSig(toBuffer(v), r, s); + return concatSig(toBuffer(modifiedV), r, s); } export function getProviderHandlers({