We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec41e60 commit 9e15666Copy full SHA for 9e15666
packages/pkp-sui/src/lib/pkp-sui.ts
@@ -78,7 +78,7 @@ export class PKPSuiWallet implements PKPWallet, Signer {
78
const msgHash = sha256(digest);
79
const signature = await this.runSign(msgHash);
80
const numToNByteStr = (num: number | bigint): string =>
81
- bytesToHex(numberToBytesBE(num, secp256k1.CURVE.nByteLength));
+ bytesToHex(numberToBytesBE(num, secp256k1.CURVE.nByteLength || 32));
82
83
// TODO response from PKPBase.runSign has this values defined as strings
84
const compactHex =
0 commit comments