Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Nov 15, 2023
1 parent ad93551 commit 3d0e566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mods/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,9 @@ export class TlsClientDuplex {
return Ok.void()
}

await tryValidate(server_key_exchange, state).then(r => r.inspectErrSync(e => console.error({ e })).throw(t))
const server_ecdh_params = server_key_exchange.params
await tryValidate(server_key_exchange, state).then(r => r.throw(t))

const server_ecdh_params = server_key_exchange.params
this.#state = { ...state, action: "server_key_exchange", server_ecdh_params }

return Ok.void()
Expand Down

0 comments on commit 3d0e566

Please sign in to comment.