Skip to content

Commit 135db72

Browse files
committed
Fix JSON-RPC authorizationList signature entries encoded as DATA instead of QUANTITY values (#4916).
1 parent d2c9ca0 commit 135db72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src.ts/providers/provider-jsonrpc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,8 +866,8 @@ export abstract class JsonRpcApiProvider extends AbstractProvider {
866866
nonce: toQuantity(a.nonce),
867867
chainId: toQuantity(a.chainId),
868868
yParity: toQuantity(a.signature.yParity),
869-
r: a.signature.r,
870-
s: a.signature.s,
869+
r: toQuantity(a.signature.r),
870+
s: toQuantity(a.signature.s),
871871
}
872872
});
873873
}

0 commit comments

Comments
 (0)