Skip to content

Commit

Permalink
fix: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
guru-web3 committed Jun 30, 2023
1 parent 6aaf1c1 commit 10e49f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/modules/controllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,18 +500,13 @@ class ControllerModule extends VuexModule {
this.torus.handleLogout();
}

// todo:
@Action
async openloginLogout() {
try {
const openLoginInstance = await OpenLoginFactory.getInstance();
// if (openLoginInstance.state.support3PC) {

openLoginInstance.logout();
// await openLoginInstance.logout({
// clientId: config.openLoginClientId,
// });
// }
} catch (error) {
log.warn(error, "unable to logout with openlogin");
}
Expand Down
1 change: 0 additions & 1 deletion src/utils/tkey/storageLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ class TorusStorageLayer {
timestamp: new BN((this.serverTimeOffset + Date.now()) / 1000).toString(16),
};

// todo:
const hash = keccak256(Buffer.from(stringify(setTKeyStore), "utf-8")).slice(2);
if (privKey) {
const unparsedSig = toPrivKeyEC(privKey).sign(hash);
Expand Down

0 comments on commit 10e49f3

Please sign in to comment.