File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -71,17 +71,16 @@ export const testUseEoaSessionSigsToPkpSign = async (
7171
7272 console . log ( 'recoveredPubKey:' , recoveredPubKey ) ;
7373
74- // FIXME: Consider adding these assertions back after the v flipping PR is merged
75- // if (recoveredPubKey !== `0x${runWithSessionSigs.publicKey.toLowerCase()}`) {
76- // throw new Error(
77- // `Expected recovered public key to match runWithSessionSigs.publicKey`
78- // );
79- // }
80- // if (recoveredPubKey !== `0x${alice.pkp.publicKey.toLowerCase()}`) {
81- // throw new Error(
82- // `Expected recovered public key to match alice.pkp.publicKey`
83- // );
84- // }
74+ if ( recoveredPubKey !== `0x${ runWithSessionSigs . publicKey . toLowerCase ( ) } ` ) {
75+ throw new Error (
76+ `Expected recovered public key to match runWithSessionSigs.publicKey`
77+ ) ;
78+ }
79+ if ( recoveredPubKey !== `0x${ alice . pkp . publicKey . toLowerCase ( ) } ` ) {
80+ throw new Error (
81+ `Expected recovered public key to match alice.pkp.publicKey`
82+ ) ;
83+ }
8584
8685 log ( '✅ testUseEoaSessionSigsToPkpSign' ) ;
8786} ;
You can’t perform that action at this time.
0 commit comments