File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ const handleConnection = async (signer: UndefinedOr<Signer>) => {
120120 }
121121 console .log (' inside Handle Connection' )
122122 // get wallet address
123- const connectedAddress = signer ? await signer .getAddress () : await newSigner .getAddress ()
123+ const connectedAddress = signer
124+ ? await signer .getAddress ()
125+ : await newSigner .getAddress ()
124126 // const connectedAddress = '0x57E21bd98612DE0Bd1723F4bf81A944eF7BfF526'
125127 walletAddress .value = connectedAddress
126128 console .log ({ connectedAddress })
@@ -184,8 +186,8 @@ onMounted(async () => {
184186 walletSigner = signer
185187 })
186188 const signer = conct ().signer .value
187- console .log ({signer })
188- console .log ({walletSigner })
189+ console .log ({ signer })
190+ console .log ({ walletSigner })
189191 if (signer ) {
190192 const connectedAddress = await signer .getAddress ()
191193 walletAddress .value = connectedAddress
Original file line number Diff line number Diff line change @@ -39,10 +39,7 @@ export const getSignature = async (
3939 return decode ( sig ) as string
4040}
4141
42- export const getSessionAddress = async (
43- hash : string ,
44- sig : string ,
45- ) => {
42+ export const getSessionAddress = async ( hash : string , sig : string ) => {
4643 const address = verifyMessage ( hash , sig )
4744 return address
4845}
You can’t perform that action at this time.
0 commit comments